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

  1. class Enemy_79 extends Enemy
  2. {
  3.    var numLife;
  4.    var numSpeed;
  5.    var arrEvents;
  6.    var guns;
  7.    function Enemy_79()
  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,5)});
  17.       this.arrEvents.push({name:"Explode Seekers",triggerValue:0,hit:false,custom:false,action:"EVENT_SeekersDie",values:0});
  18.       this.guns.push({name:"gun_1",type:14,fireTimerMax:60,fireTimerMin:60,counter:60,speed:0,size:100,damage:5});
  19.       this.guns.push({name:"gun_2",type:14,fireTimerMax:60,fireTimerMin:60,counter:80,speed:0,size:100,damage:5});
  20.       this.guns.push({name:"gun_3",type:13,fireTimerMax:5,fireTimerMin:5,counter:1,speed:7.5,size:100,damage:2});
  21.    }
  22. }
  23.