home *** CD-ROM | disk | FTP | other *** search
- class Enemy_45 extends Enemy
- {
- var numLife;
- var numSpeed;
- var arrEvents;
- var guns;
- function Enemy_45()
- {
- super();
- }
- function ConfigureEnemy()
- {
- this.numLife = 75;
- this.numSpeed = 1;
- this.arrEvents.push({name:"Death Award",triggerValue:0,hit:false,custom:false,action:"EVENT_Bubbles",values:Array(3,12)});
- this.arrEvents.push({name:"Death Award",triggerValue:0,hit:false,custom:false,action:"EVENT_Bubbles_Large",values:Array(4,5)});
- this.arrEvents.push({name:"Drops Gun",triggerValue:19,hit:false,custom:false,action:"EVENT_DropGun",values:"gun_2"});
- this.arrEvents.push({name:"Decrease Speed",triggerValue:19,hit:false,custom:false,action:"EVENT_SpeedChange",values:0.5});
- this.guns.push({name:"gun_1",type:5,fireTimerMax:70,fireTimerMin:50,counter:60,speed:7,size:100,damage:2});
- this.guns.push({name:"gun_2",type:3,fireTimerMax:600,fireTimerMin:400,counter:120,speed:6,size:100,damage:1});
- this.guns.push({name:"gun_3",type:9,fireTimerMax:120,fireTimerMin:80,counter:70,speed:3,size:100,damage:2});
- }
- }
-