• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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

Status
Not open for further replies.
Level 12
Joined
Feb 5, 2018
Messages
521
  • 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