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

  1. class Enemy_98 extends Enemy
  2. {
  3.    var numLife;
  4.    var numSpeed;
  5.    var arrEvents;
  6.    var guns;
  7.    function Enemy_98()
  8.    {
  9.       super();
  10.    }
  11.    function ConfigureEnemy()
  12.    {
  13.       this.numLife = 60;
  14.       this.numSpeed = 1.5;
  15.       this.arrEvents.push({name:"Death Award",triggerValue:0,hit:false,custom:false,action:"EVENT_Bubbles",values:Array(5,20)});
  16.       this.arrEvents.push({name:"Death Award",triggerValue:0,hit:false,custom:false,action:"EVENT_Bubbles_Large",values:Array(7,10)});
  17.       this.arrEvents.push({name:"Explode Seekers",triggerValue:0,hit:false,custom:false,action:"EVENT_SeekersDie",values:0});
  18.       this.guns.push({name:"gun_3",type:11,fireTimerMax:60,fireTimerMin:60,counter:0,speed:0,size:100,damage:5});
  19.       this.guns.push({name:"gun_4",type:11,fireTimerMax:90,fireTimerMin:90,counter:30,speed:0,size:100,damage:5});
  20.       this.guns.push({name:"gun_1",type:16,fireTimerMax:150,fireTimerMin:100,counter:60,speed:4.5,size:100,damage:4});
  21.       this.guns.push({name:"gun_2",type:13,fireTimerMax:5,fireTimerMin:5,counter:1,speed:7.5,size:100,damage:2});
  22.    }
  23. }
  24.