Problem holding an Item in order?

Level 5
Joined
May 8, 2020
Messages
83
1712422460208.png


I have 1 line: I want
When I hold an item in slots 1 it will create a copy (another item) in slots 1 delete Accuracy
and when
When I hold an item in slots 2 it will create a copy (another item) in slots 2 and delete Accuracy

Is there any way to do this?
 
Level 23
Joined
Feb 27, 2019
Messages
731
Maybe this? I am not quite sure what exactly it is you want.
  • Events
    • Unit - A unit Acquires an item
  • Conditions
    • (Item-type of (Item being manipulated)) Equal to Alleria's Flute of Accuracy
  • Actions
    • Hero - Drop (Item being manipulated) from (Triggering unit).
    • Item - Remove (Item being manipulated)
    • Hero - Create Mask of Death and give it to (Triggering unit)
EDIT: I cant imagine many scenarios that would require what I posted first so my second guess is youre after something like this?
  • For each (Integer ItemL) from 1 to 6, do (Actions)
    • Loop - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Item being manipulated) Equal to (Item carried by (Triggering unit) in slot ItemL)
        • Then - Actions
          • Hero - Drop (Item being manipulated) from (Triggering unit).
          • Item - Remove (Item being manipulated)
          • Hero - Create ItemType[ItemL] and give it to (Triggering unit)
          • Custom script: exitwhen true
        • Else - Actions
 
Last edited:
Top