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

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