SphereCommunity

Full Version: Wrestling .stun command
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Any simple script to use wrestling for doing stuns?? like with a command .stun
http://wiki.sphere.torfo.org/index.php?title=@Hit
http://wiki.sphere.torfo.org/index.php?t...DEF#Others
http://wiki.sphere.torfo.org/index.php?title=EVENTS

Code:
[FUNCTION STUN]
IF (!(<ISEVENT.e_stun>) && (<Wrestling> > 90.0))
  EVENTS +e_stun
  SYSMESSAGE You activated stun.
ELIF (<ISEVENT.e_stun>)
  EVENTS -e_stun
  SYSMESSAGE You deactivated stun.  
ENDIF

[EVENTS e_stun]
On=@Hit
IF !(<ARGO>)
  IF (rand(100) < 20)
    SRC.TAG.NOMOVETILL <EVAL <SERV.TIME> + 10>
    SRC.SAYUA @0481,,1 * Stunned *
  ENDIF
ENDIF
Reference URL's