00:00:18.50 Trigger Error in 'gt_Eventlisteneregunitusesability_Func': Catalog entry 'DamageUnit' was not found
00:00:18.50 Trigger Error in 'gt_Eventlisteneregunitusesability_Func': Could not get 'entry' from parameter in 'CatalogFieldValueSet' (value: 4327983)
00:00:18.50 Trigger Error in 'gt_Eventlisteneregunitusesability_Func': Catalog entry 'DamageUnit' was not found
00:00:18.50 Trigger Error in 'gt_Eventlisteneregunitusesability_Func': Could not get 'entry' from parameter in 'CatalogFieldValueSet' (value: 6949418)
I've been looking everywhere but I can't find any tutorials on how to increase the damage of an ability.
I've looked at levels, adding and removing the ability through triggers but none give a demonstration on how to do it.
Can anyone help me?
I have around 10 heros and I need to be able to alter the damage of their abilities. Possibly 20 times each.
What is the simplest way to go about this? I need to be able to use trigger-actions to alter them.
@gorang: Go
Damage is inflicted by Effects. You can change the Amount of damage done through the Catalog feature using triggers.
Check this example: http:forums.sc2mapster.com/development/galaxy-scripting-and-trigger-lib/7428-inflict-damage-on-unit-warcraft-3-editor-style/
This is great, i'm testing now. Can you come to IRC and help me to make sure i'm doing it right? I'm getting an error right now
http://webchat.freenode.net/?channels=SC2Mapster
@gorang: Go
I have to leave soonish. But quickshot14 made a fantastic video guide on YouTube for this.
Check it out: http:www.youtube.com/watch?v=64x8jRL5np0
Just follow the steps and see how it's done. Hope you figure it out. Otherwise I'll be available tonight (which is like 7 hours from now for me).
This si the error i'm getting
00:00:18.50 Trigger Error in 'gt_Eventlisteneregunitusesability_Func': Catalog entry 'DamageUnit' was not found
00:00:18.50 Trigger Error in 'gt_Eventlisteneregunitusesability_Func': Could not get 'entry' from parameter in 'CatalogFieldValueSet' (value: 4327983)
00:00:18.50 Trigger Error in 'gt_Eventlisteneregunitusesability_Func': Catalog entry 'DamageUnit' was not found
00:00:18.50 Trigger Error in 'gt_Eventlisteneregunitusesability_Func': Could not get 'entry' from parameter in 'CatalogFieldValueSet' (value: 6949418)
@gorang: Go
That error is because you don't have a damage effect named DamageUnit. It's token/ID needs to be DamageUnit, not it's 'name'.
I realized what i'd done wrong and copied over the effect to my map now.
However Nova's snipe ability is still not 1 damage. :/
Cracked it. Changed Nova's ability damage to 0 and now whatever I place into the trigger for damage is used.
This is an amazing function you've created. It will help a lot.
Thank you
@gorang: Go
No problem. Enjoy :)