Hiding abilities, or another way?

zylack

New Member
Reaction score
15
I made a dodge ability based on phaseshift, and it cant be un-autocastable. In testing people found that you could autocast it and were realy hard to kill.


Code:
dodge
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Ability being cast) Equal to Dodge!
    Actions
        Unit - Add dodge to (Casting unit)
        Unit - Order (Casting unit) to Night Elf Faerie Dragon - Phase Shift
        Unit - Remove dodge from (Casting unit)
        Set IS_IT_ON[(Player number of (Owner of (Casting unit)))] = True
        Unit - Make (Triggering unit) Invulnerable
        Wait 1.10 seconds
        Unit - Remove dodge from (Casting unit)
        Unit - Make (Triggering unit) Vulnerable
        Set IS_IT_ON[(Player number of (Owner of (Casting unit)))] = False

This works but i rly want to hide this ability. Is there a better way to go about doing this?
 

Demi666

New Member
Reaction score
127
zylack said:
I made a dodge ability based on phaseshift, and it cant be un-autocastable. In testing people found that you could autocast it and were realy hard to kill.


Code:
dodge
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Ability being cast) Equal to Dodge!
    Actions
        Unit - Add dodge to (Casting unit)
        Unit - Order (Casting unit) to Night Elf Faerie Dragon - Phase Shift
        Unit - Remove dodge from (Casting unit)
        Set IS_IT_ON[(Player number of (Owner of (Casting unit)))] = True
        Unit - Make (Triggering unit) Invulnerable
        Wait 1.10 seconds
        Unit - Remove dodge from (Casting unit)
        Unit - Make (Triggering unit) Vulnerable
        Set IS_IT_ON[(Player number of (Owner of (Casting unit)))] = False

This works but i rly want to hide this ability. Is there a better way to go about doing this?
Hey Zylack:p i dunno how 2 do it but u should try remove ability..?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top