Is it just me, or does the mouse move more slowly in the game?
Tech points are also *1. Probably also everything else numerical.
Cannon always charged; you can always shoot:
68 9a 03 d0 24 00 68 a5 03 =>
68 9a 03 d0 24 64 68 a5 03
public function get isReadyToShoot() : Boolean
{
return this.reload == 100 && this.cannonEnabled;
}// end function
public function shoot() : void
{
var _loc_1:FlxPoint = null;
this.gap = 10;
this.reload = 0;
if (GameData.Base.CannonType == CannonTypes.CANNON_3)
{
this.charge = 100;
}
else
{
this.impact.angle = this.getCannonDir() + 180;
_loc_1 = this.getCannonPosition();
this.impact.x = _loc_1.x;
this.impact.y = _loc_1.y;
this.impactTimer = 0.25;
}
return;
}// end function
//68 9a 03
_as3_initproperty gap
//d0
_as3_getlocal <0>
//24 00
_as3_pushbyte 0
//68 a5 03
_as3_initproperty reload
Towers always charged (didn't test; but works on the same principle):
1b b5 ff ff 03 86 ff ff 97 ff ff a6 ff ff b5 ff ff d0 24 00 69 e9 01 =>
1b b5 ff ff 03 86 ff ff 97 ff ff a6 ff ff b5 ff ff d0 24 64 69 e9 01
Making an invincibility one is a little trickier. There is a "hurt function", but it applies to every single unit; including the enemy. If anyone wants to have a go, it's in org -> flixel -> FlxObject , public function hurt(param1:Number) : void