[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