• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Solved] Modifying Item Damage via triggers

Status
Not open for further replies.
Level 12
Joined
May 7, 2008
Messages
346
Hey guys,

I'm trying to find a way to modify the damage component of the Ability from the item Claws of Attack for my trigger, but I can't seem to find the mentioned damage inside this field.

  • Ability - Set Ability: (Unit: (Killing unit)'s Ability with Ability Code: Beast Slaying (Dummy Ability) )'s Real Level Field: Damage Bonus ('Ocr3') of Level: 0 to BeastSlaying_Math
There's way too many options and none of them refer to the Bonus Damage directly?
 
This is the correct raw code used by claws of attack

1712260204565.png


And given it just 1 and not 1.00 it's probably an integer field, not a real
 
EDIT;

Apparently this doesn't work for some reason, the item ability is renamed but its basically claws of attack +1 with only 1 level.

  • Ability - Set Ability: (Unit: (Killing unit)'s Ability with Ability Code: Beast Slaying (Dummy Ability) )'s Integer Level Field: Attack Bonus ('Iatt') of Level: 0 to (1 + 1)
EDIT2: Apparently you have to increase / decrease level cause it doesn't update if you don't do that, lol. It works now!
 
Last edited:
Status
Not open for further replies.
Back
Top