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

  1. class Enemy_40 extends Enemy
  2. {
  3.    var numLife;
  4.    var numSpeed;
  5.    var arrEvents;
  6.    var guns;
  7.    function Enemy_40()
  8.    {
  9.       super();
  10.    }
  11.    function ConfigureEnemy()
  12.    {
  13.       this.numLife = 70;
  14.       this.numSpeed = 3;
  15.       this.arrEvents.push({name:"Death Award",triggerValue:0,hit:false,custom:false,action:"EVENT_Bubbles",values:Array(40,15)});
  16.       this.guns.push({name:"gun_1",type:1,fireTimerMax:60,fireTimerMin:50,counter:0,speed:5,size:300,damage:4});
  17.       this.guns.push({name:"gun_2",type:1,fireTimerMax:60,fireTimerMin:50,counter:40,speed:5,size:300,damage:4});
  18.       this.guns.push({name:"gun_3",type:1,fireTimerMax:60,fireTimerMin:50,counter:80,speed:5,size:300,damage:4});
  19.       this.guns.push({name:"gun_4",type:1,fireTimerMax:60,fireTimerMin:50,counter:120,speed:5,size:300,damage:4});
  20.    }
  21. }
  22.