home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Aventura / pendekar.swf / scripts / DefineSprite_173 / frame_5 / DoAction.as
Text File  |  2006-05-08  |  235b  |  9 lines

  1. if(_parent._parent.isObjectConnect(hit,_parent))
  2. {
  3.    if(_root.sfx)
  4.    {
  5.       _parent._parent.playSFX("slash01.wav");
  6.    }
  7.    _parent._parent.sliceObject(hit,_parent._parent.getWeaponPower(_parent.weapon) + 2,_parent,true);
  8. }
  9.