Adding abilities to items

foodflare

You can change this now in User CP.
Reaction score
32
I was wondering if there is any way to add abilities to items in game if so that would be of great use
 

Faust

You can change this now in User CP.
Reaction score
123
Not likely, but you could attach some data to the item, namely, the rawcode of the spell, and give the item a dummy ability, that does nothing by itself.
Area of effect spells might prove a little problemastic though :pPPP
 

l1lshadow

New Member
Reaction score
4
Go to the object editor->items->your item-> abilities-abilities (should be the first line) then change actively used to true.
 

foodflare

You can change this now in User CP.
Reaction score
32
i dont think you get what i want i want to be able to say lets say i have claws of attack and i decide to alter it so that it also increases attack speed but i dont want to make a whole new item in object editor that does that so i just add item attack speed bonus to the claws in the game
 
Reaction score
341
Something like this..

Trigger:
  • init
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set item[1] = Claws of Attack +15
      • Set ability[1] = Item Attack Speed Bonus (Gloves of Haste)
      • Set count = 1


Trigger:
  • aquire
    • Events
      • Unit - A unit Acquires an item
    • Conditions
    • Actions
      • For each (Integer A) from 1 to count, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Item-type of (Item being manipulated)) Equal to item[(Integer A)]
            • Then - Actions
              • Unit - Add ability[(Integer A)] to (Hero manipulating item)
            • Else - Actions
 
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