Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Untitled Trigger 001

Events

Conditions

Actions


Unit - Set Unit: (Triggering unit)'s Weapon Integer Field: Attack Damage Base ('ua1b')at Index:0 to Value: 1


Unit - Set Unit: (Triggering unit)'s Integer Field: Defense Type ('udty') to Value: 1
Unit - Set Unit: (Triggering unit)'s Weapon Integer Field: Attack Damage Base ('ua1b')at Index:0 to Value: ((Unit: (Triggering unit)'s Weapon Integer Field: Attack Damage Base ('ua1b') at Index:0) + 1)
Hero - Create Permanent Damage Gain and give it to (Triggering unit)
I seem to have forgotten a most important option on the item for the second method being: Use automatically when aquired = TrueThe first method I did not find this function in the triggers (remembering that I am using WE 1.26) and the second method did not work, because every time I activate the trigger it gives a new item that is filling the space in the inventory until it is full, after 6 items it starts to drop.
You could try this but it might not be compatible with your editor versionIt is possible to do this in jass?
Custom script: call BlzSetUnitBaseDamage( GetTriggerUnit(), ( BlzGetUnitBaseDamage(GetTriggerUnit(), 0) + 1 ), 0 )