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

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