1 var EnemyCharacterClass_PanTank = function(stage, args){
2 EnemyCharacterClass_PanTank.base.apply(this, [stage, [["pantank1.png","pantank2.png","pantank3.png","pantankaim.png","pantankfire.png","pantankcooldown.png",]]]);
7 this.chasingRange = 700;
8 this.collisionMargin.top = 90;
9 this.collisionMargin.bottom = 10;
11 this.movingVelocity = 130;
13 this.touchDamage = 30;
16 this.HP = this.max_HP;
18 this.isItemCollector = false;
19 this.isWeaponed = true;
21 stage.addStageObject(this);
22 }.extend(EnemyCharacterClass, {
23 className: "EnemyCharacterClass_PanTank",
26 if(this.lastFireTick < this.ownerStage.manager.tickCount - this.fireTickInterval){
27 var f = new FireObjectClass(this.ownerStage, [["bullet.png"]]);
32 this.lastFireTick = this.ownerStage.manager.tickCount;