• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[Solved] Modifying Item Damage via triggers

Level 12
Joined
May 7, 2008
Messages
335
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?
 
Level 20
Joined
Aug 29, 2012
Messages
852
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
 
Level 12
Joined
May 7, 2008
Messages
335
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:
Top