• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Spell] Invisibility On/Off

Status
Not open for further replies.
Level 4
Joined
Jul 15, 2009
Messages
72
Well, i need a spell for RoC, wich allow the unit to become invisible, the spell must be like On/Off - Active/Deactivate and the unit won't get a bonus of movement speed or a bonus damage, also the unit can't attack or be attacked while invisibility, only spells can damage it while it's active.

Any one can help me on how to make this spell? :grin:
 
Level 4
Joined
Jul 15, 2009
Messages
72
The blademaster windwalk is a timed ability, and if i set high amount of time it can't be turned off.
 
Level 4
Joined
Jul 15, 2009
Messages
72
I just realized what i need is a bit different, i need the unit to active or turn off the spell, but everytime the unit attack it becomes visible and then invisible again, until the spell is desactivated.

While using if the unit attack someone it creates "open wounds" that last 4 seconds and the unit will lose movement speed and hp regeneration while using the spell. Still for RoC..

Any one xD?
 
Level 4
Joined
Jul 15, 2009
Messages
72
Lol, sadly hive's only support TFT. But there are few people out there who still work on RoC and know how to do it.

I will explain the whole idea of this spell, this way people will understand, permanent invisibility or WindWalk is not usefull this time.

OKay, first. the unit will have this ability by default, it won't be learned by experience. Then, the unit should be able to turn it on/off, when the unit have this ability turned "on", it will become invisible, increase it movement speed by something like 0.40 and the unit can't be attacked with normal damage, only spells will damge the unit while using this spell and also, if the unit attack while using this spell, it will become visible, and the first hit will create "open woudns" for 2-3 seconds on the "attacked" unit. This ability cost no mana to cast or while using, just a cast time of 2 seconds.

And yes.. this ability is going to be for RoC.

  • Invisibility
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Set TempGroup = (Units in (Playable map area))
      • Unit Group - Pick every unit in TempGroup and do (Actions)
        • Loop - Actions
          • Set TempUnit = (Picked unit)
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Level of Permanent Invisibility for TempUnit) Equal to 0
            • Then - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (TempUnit has buff Invisibility) Equal to True
                • Then - Actions
                  • Unit - Add Permanent Invisibility to TempUnit
                • Else - Actions
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (TempUnit has buff Invisibility) Equal to False
                • Then - Actions
                  • Unit - Remove Permanent Invisibility from TempUnit
                • Else - Actions
      • Custom script: call DestroyGroup (udg_TempGroup)
I got this trigger thanks to a friend, wich is the one i'm working on to create all the other stuff i need.
 
Status
Not open for further replies.
Top