home *** CD-ROM | disk | FTP | other *** search
- class Enemy_11 extends Enemy
- {
- var numLife;
- var numSpeed;
- var arrEvents;
- var guns;
- function Enemy_11()
- {
- super();
- }
- function ConfigureEnemy()
- {
- this.numLife = 125;
- this.numSpeed = 1.5;
- this.arrEvents.push({name:"Death Award",triggerValue:0,hit:false,custom:false,action:"EVENT_Bubbles",values:Array(4,16)});
- this.arrEvents.push({name:"Death Award",triggerValue:0,hit:false,custom:false,action:"EVENT_Bubbles_Large",values:Array(3,5)});
- this.arrEvents.push({name:"Drops Gun",triggerValue:69,hit:false,custom:false,action:"EVENT_DropGun",values:"gun_1"});
- this.arrEvents.push({name:"Decrease Speed",triggerValue:69,hit:false,custom:false,action:"EVENT_SpeedChange",values:0.5});
- this.guns.push({name:"gun_1",type:1,fireTimerMax:60,fireTimerMin:40,counter:50,speed:6,size:100,damage:3});
- this.guns.push({name:"gun_2",type:1,fireTimerMax:140,fireTimerMin:100,counter:120,speed:3,size:300,damage:7});
- }
- }
-