home *** CD-ROM | disk | FTP | other *** search
- class Enemy_77 extends Enemy
- {
- var numLife;
- var numSpeed;
- var arrEvents;
- var guns;
- function Enemy_77()
- {
- super();
- }
- function ConfigureEnemy()
- {
- this.numLife = 75;
- this.numSpeed = 1.5;
- this.arrEvents.push({name:"Enemy Hit",triggerValue:-1,hit:false,custom:false,action:"EVENT_Bubbles",values:Array(2,1)});
- this.arrEvents.push({name:"Death Award",triggerValue:0,hit:false,custom:false,action:"EVENT_Bubbles",values:Array(30,8)});
- this.guns.push({name:"gun_1",type:12,fireTimerMax:120,fireTimerMin:80,counter:100,speed:2,size:100,damage:0});
- this.guns.push({name:"gun_2",type:7,fireTimerMax:120,fireTimerMin:80,counter:100,speed:6,size:100,damage:2});
- this.guns.push({name:"gun_3",type:7,fireTimerMax:120,fireTimerMin:80,counter:100,speed:6,size:100,damage:2});
- this.arrEvents.push({name:"Drop Gun 1",triggerValue:44,hit:false,custom:false,action:"EVENT_DropGun",values:"gun_1"});
- }
- }
-