home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / DemonicDefence3.swf / scripts / DefineSprite_780 / frame_37 / DoAction.as
Encoding:
Text File  |  2005-09-27  |  194 b   |  10 lines

  1. if(_parent.die == 1)
  2. {
  3.    gotoAndStop("dead");
  4.    play();
  5. }
  6. else if(this.shocking <= 0)
  7. {
  8.    _root.castleHp -= 5 + random(_root.level + 4 + _root.hlevel) - _root.gotWall * random(4);
  9. }
  10.