Refresher Orb Effect

J

JezzaRules

Guest
How do you make it? I also planned in making a skill that whenever the Hero gets affected by a certain buff, one of the Heroe's skills cooldown is reset.
 

wraithseeker

Tired.
Reaction score
122
Code:
Event
A unit uses a item

Condition
Item used equal to refresher orb

Actions
refresh all ability cooldown for triggering unit.

Try this.
 

8uY_YoU

New Member
Reaction score
4
Code:
Event
A unit uses a item

Condition
Item used equal to refresher orb

Actions
refresh all ability cooldown for triggering unit.

Try this.

But the refresher orb doesnt cooldown it refreshed by the trigger
To handle this hide the ref orb item at first action and show again in the last action
 

X-maul

AKA: Demtrod
Reaction score
201
to refresh the cooldown is the same as instantly cooldown it... it do so that you can instantly cooldown(refresh) your ability....
 

Igor_Z

You can change this now in User CP.
Reaction score
61
Isn't there a condition about this? Refreshed ability not equal to X?
 

Nexor

...
Reaction score
74
you could save the abilities remove them refresh the other skills and give the saved abilities back
 

vypur85

Hibernate
Reaction score
803
Err....

This does not refresh the casting ability.

Code:
Refresh
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Refresh 
    Actions
        Unit - Reset ability cooldowns for (Triggering unit)

It works fine.
 

Tom_Kazansky

--- wraith it ! ---
Reaction score
157
He means that, going by your trigger, when the Refresher is used, it would also remove it's own cooldown (since it's a global refresh)

well, just drop the item and re-pick it up. :)

EDIT: here is the trigger:

Trigger:
  • Use Refresher Orb
    • Events
      • Unit - A unit Uses an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Kelen's Dagger of Escape
    • Actions
      • Set TempUnit = (Hero manipulating item)
      • Set TempItem = (Item being manipulated)
      • -------- reset cooldown --------
      • Unit - Reset ability cooldowns for TempUnit
      • -------- get inventory index of the item --------
      • For each (Integer A) from 1 to 6, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • TempItem Equal to (Item carried by TempUnit in slot (Integer A))
            • Then - Actions
              • Set TempInt = (Integer A)
            • Else - Actions
      • -------- removes and readd item --------
      • Hero - Drop TempItem from TempUnit
      • Set EmptySlotCount = 0
      • -------- add some "slot filler" items --------
      • For each (Integer A) from 1 to (TempInt - 1), do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Item carried by TempUnit in slot (Integer A)) Equal to No item
            • Then - Actions
              • Set EmptySlotCount = (EmptySlotCount + 1)
              • Hero - Create Empty Vial and give it to TempUnit
              • Set TempItem_Slotfiller[EmptySlotCount] = (Last created item)
            • Else - Actions
      • Hero - Give TempItem to TempUnit
      • -------- remove "slot filler" items --------
      • For each (Integer A) from 1 to EmptySlotCount, do (Actions)
        • Loop - Actions
          • Hero - Drop TempItem_Slotfiller[(Integer A)] from TempUnit
          • Item - Remove TempItem_Slotfiller[(Integer A)]


Variables: TempUnt (unit), TempItem (item), TempItem_Slotfiller (item - array), TempInt (integer)
Note:
- Kelen's Dagger of Escape: replace this with your "Refresher Orb"
- Empty Vial: this is an item with no ability, I just use it to "fill" the empty slot in hero's inventory when Refresher Orb are dropped and re-added.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top