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

  1. class Enemy_B1 extends Enemy
  2. {
  3.    var numLife;
  4.    var numSpeed;
  5.    var blnBossHead;
  6.    var arrEvents;
  7.    var guns;
  8.    function Enemy_B1()
  9.    {
  10.       super();
  11.    }
  12.    function ConfigureEnemy()
  13.    {
  14.       this.numLife = 400;
  15.       this.numSpeed = 0;
  16.       this.blnBossHead = true;
  17.       this.arrEvents.push({name:"Death Award",triggerValue:0,hit:false,custom:false,action:"EVENT_Bubbles_Ultra",values:Array(5,3)});
  18.       this.arrEvents.push({name:"Death Award",triggerValue:0,hit:false,custom:false,action:"EVENT_Bubbles_Large",values:Array(3,6)});
  19.       this.guns.push({name:"gun_1",type:12,fireTimerMax:100,fireTimerMin:70,counter:100,speed:6,size:100,damage:0});
  20.       this.guns.push({name:"gun_2",type:18,fireTimerMax:2,fireTimerMin:2,counter:40,speed:8,size:250,damage:3});
  21.    }
  22. }
  23.