• 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.

[Solved] Hidden Evasion icon.

Status
Not open for further replies.

SpasMaster

Hosted Project: SC
Level 24
Joined
Jan 29, 2010
Messages
1,986
Hello everyone!

I am making an ability that should boost damage and grant evasion for 10 seconds. For the ability I am using Roar as base, to achieve the bonus damage effect. I am using triggers (below) to add/remove an evasion ability which is classified as "Item Ability - True".


[trigger=""]Swiftness
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Swiftness
Actions
Set Swiftness_Caster = (Triggering unit)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) has an item of type |c001e53c9Razor Sting|r) Equal to True
Then - Actions
Set Swiftness_Ability = Swiftness Evasion (100%)
Else - Actions
Set Swiftness_Ability = Swiftness Evasion (50%)
Unit - Add Swiftness_Ability to (Triggering unit)
Trigger - Turn on Swiftness 2 <gen>
Trigger - Turn off (This trigger)
[/trigger]



[trigger=""]Swiftness 2
Events
Time - Every 0.50 seconds of game time
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Swiftness_Caster has buff Swiftness ) Equal to True
Then - Actions
Else - Actions
Unit - Remove Swiftness_Ability from Swiftness_Caster
Trigger - Turn on Swiftness <gen>
Trigger - Turn off (This trigger)

[/trigger]


The poblem is that this Item Ability evasion shows itself in the hero command card, which is something I do not want. Ideas?
 
Last edited:
Status
Not open for further replies.
Top