Sorry for long title, if it matters. I want to make a Hero killing an enemy hero to get 1 strength, 1 agility and 1 intellegence. Here's my trigger so far:
I actually wanted "add 0.5" or something, but that didnt work so I got it like this. So I made this trigger, and suddenly I realised: I did a variable on exactly that hero, not all heroes of that type.. And now I find myself almost clueless I would also like an "effect", the same one that comes when a hero picks up a tome, when a hero kills another hero..
And as a second thing to ask for help (I realy love this forum, and you guys who help me ) How can I make a hero start with an item (scroll of town portal) when trained?
Code:
Events
Unit - Ugly Hunter 0090 <gen> Dies
Condition
Action
Hero - Modify Strength of (Killing unit): Add 1
Hero - Modify Agility of (Killing unit): Add 1
Hero - Modify Intelligence of (Killing unit): Add 1
I actually wanted "add 0.5" or something, but that didnt work so I got it like this. So I made this trigger, and suddenly I realised: I did a variable on exactly that hero, not all heroes of that type.. And now I find myself almost clueless I would also like an "effect", the same one that comes when a hero picks up a tome, when a hero kills another hero..
And as a second thing to ask for help (I realy love this forum, and you guys who help me ) How can I make a hero start with an item (scroll of town portal) when trained?