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

  1. class Enemy_11 extends Enemy
  2. {
  3.    var numLife;
  4.    var numSpeed;
  5.    var arrEvents;
  6.    var guns;
  7.    function Enemy_11()
  8.    {
  9.       super();
  10.    }
  11.    function ConfigureEnemy()
  12.    {
  13.       this.numLife = 125;
  14.       this.numSpeed = 1.5;
  15.       this.arrEvents.push({name:"Death Award",triggerValue:0,hit:false,custom:false,action:"EVENT_Bubbles",values:Array(4,16)});
  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:"Drops Gun",triggerValue:69,hit:false,custom:false,action:"EVENT_DropGun",values:"gun_1"});
  18.       this.arrEvents.push({name:"Decrease Speed",triggerValue:69,hit:false,custom:false,action:"EVENT_SpeedChange",values:0.5});
  19.       this.guns.push({name:"gun_1",type:1,fireTimerMax:60,fireTimerMin:40,counter:50,speed:6,size:100,damage:3});
  20.       this.guns.push({name:"gun_2",type:1,fireTimerMax:140,fireTimerMin:100,counter:120,speed:3,size:300,damage:7});
  21.    }
  22. }
  23.