home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Acao / bubble_tanks_2.swf / scripts / __Packages / Enemy_14.as < prev    next >
Encoding:
Text File  |  2008-09-02  |  1.6 KB  |  28 lines

  1. class Enemy_14 extends Enemy
  2. {
  3.    var numLife;
  4.    var numSpeed;
  5.    var arrEvents;
  6.    var guns;
  7.    function Enemy_14()
  8.    {
  9.       super();
  10.    }
  11.    function ConfigureEnemy()
  12.    {
  13.       this.numLife = 400;
  14.       this.numSpeed = 0.25;
  15.       this.arrEvents.push({name:"Death Award",triggerValue:0,hit:false,custom:false,action:"EVENT_Bubbles",values:Array(5,20)});
  16.       this.arrEvents.push({name:"Death Award",triggerValue:0,hit:false,custom:false,action:"EVENT_Bubbles_Large",values:Array(3,5)});
  17.       this.arrEvents.push({name:"Death Award",triggerValue:0,hit:false,custom:false,action:"EVENT_Bubbles_Ultra",values:Array(1,5)});
  18.       this.arrEvents.push({name:"Drops Gun",triggerValue:239,hit:false,custom:false,action:"EVENT_DropGun",values:"gun_1"});
  19.       this.arrEvents.push({name:"Drops Gun",triggerValue:85,hit:false,custom:false,action:"EVENT_DropGun",values:"gun_2"});
  20.       this.guns.push({name:"gun_1",type:1,fireTimerMax:80,fireTimerMin:40,counter:60,speed:6,size:100,damage:4});
  21.       this.guns.push({name:"gun_2",type:1,fireTimerMax:80,fireTimerMin:40,counter:60,speed:6,size:100,damage:4});
  22.       this.guns.push({name:"gun_3",type:2,fireTimerMax:140,fireTimerMin:80,counter:120,speed:3,size:45,damage:4});
  23.       this.guns.push({name:"gun_4",type:2,fireTimerMax:140,fireTimerMin:80,counter:100,speed:3,size:45,damage:4});
  24.       this.guns.push({name:"gun_5",type:1,fireTimerMax:120,fireTimerMin:80,counter:50,speed:5,size:400,damage:8});
  25.       this.guns.push({name:"gun_6",type:3,fireTimerMax:300,fireTimerMin:200,counter:20,speed:3,size:45,damage:4});
  26.    }
  27. }
  28.