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