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

[General] Adding abilities to items and changing name and tooltip

Status
Not open for further replies.
Level 13
Joined
Feb 5, 2018
Messages
567
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • DropRateInteger Greater than or equal to 6
    • Then - Actions
      • Set VariableSet ItemDrop_Loc = (Position of (Triggering unit))
      • Item - Create Wolf Pelt at ItemDrop_Loc
      • Set VariableSet ItemUpgrade = (Last created item)
      • -------- Not working --------
      • Item - Set Name of ItemUpgrade to |cff8080ffWolf Pelt of Wounding|r
      • -------- Not working --------
      • Item - Set Tooltip of ItemUpgrade to |cff8080ffWolf Pelt of Wounding|r
      • -------- Not working --------
      • Item - For Item: ItemUpgrade, Add Ability: Item Damage Bonus (+1)
      • -------- These work --------
      • Item - Set Description of ItemUpgrade to |cff0000ffArmor:|r 3|nGives:|n+|cffff00001 Damage|r
      • Item - Set Extended Tooltip of ItemUpgrade to |cff0000ffArmor:|r 3|nGives:|n+|cffff00001 Damage|r
      • Custom script: call RemoveLocation (udg_ItemDrop_Loc)
    • Else - Actions
So I was hoping that you wouldn't need the OE as much anymore. I decided to try to make a chance for items to upgrade when they drop, sadly only the Description and Extented Tooltip modifications work.

The item does not change it's name, tooltip or add the +1 damage ability.

Cheers! :)
 
Status
Not open for further replies.
Top