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

  1. class Enemy_35 extends Enemy
  2. {
  3.    var numLife;
  4.    var numSpeed;
  5.    var arrEvents;
  6.    var guns;
  7.    function Enemy_35()
  8.    {
  9.       super();
  10.    }
  11.    function ConfigureEnemy()
  12.    {
  13.       this.numLife = 70;
  14.       this.numSpeed = 1;
  15.       this.arrEvents.push({name:"Death Award",triggerValue:0,hit:false,custom:false,action:"EVENT_Bubbles",values:Array(30,2)});
  16.       this.guns.push({name:"gun_1",type:1,fireTimerMax:150,fireTimerMin:100,counter:60,speed:1.5,size:300,damage:4});
  17.       this.guns.push({name:"gun_2",type:1,fireTimerMax:150,fireTimerMin:100,counter:60,speed:1.5,size:300,damage:4});
  18.       this.guns.push({name:"gun_3",type:1,fireTimerMax:150,fireTimerMin:100,counter:60,speed:1.5,size:300,damage:4});
  19.       this.guns.push({name:"gun_4",type:1,fireTimerMax:150,fireTimerMin:100,counter:60,speed:1.5,size:300,damage:4});
  20.       this.guns.push({name:"gun_5",type:1,fireTimerMax:150,fireTimerMin:100,counter:60,speed:1.5,size:300,damage:4});
  21.       this.arrEvents.push({name:"Drop Gun 1",triggerValue:56,hit:false,custom:false,action:"EVENT_DropGun",values:"gun_1"});
  22.       this.arrEvents.push({name:"Drop Gun 5",triggerValue:44,hit:false,custom:false,action:"EVENT_DropGun",values:"gun_5"});
  23.       this.arrEvents.push({name:"Drop Gun 2",triggerValue:33,hit:false,custom:false,action:"EVENT_DropGun",values:"gun_2"});
  24.       this.arrEvents.push({name:"Drop Gun 4",triggerValue:23,hit:false,custom:false,action:"EVENT_DropGun",values:"gun_4"});
  25.    }
  26. }
  27.