Hero - Diverse Hero questions

Sivert

New Member
Reaction score
0
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:

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:D ) How can I make a hero start with an item (scroll of town portal) when trained?
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
888
1. If you want if for all heroes, do this:

Code:
Stats
    Events
        Unit - A unit Dies
    Conditions
        ((Triggering unit) is A Hero) Equal to True
    Actions
        Hero - Modify Strength of (Killing unit): Add 1
        Hero - Modify Agility of (Killing unit): Add 1
        Hero - Modify Intelligence of (Killing unit): Add 1

2. You should be able to add a special effect fairly easily using the special effect actions.

3. There's a Melee Game action for that.
 

PurgeandFire

zxcvmkgdfg
Reaction score
509
For number 1., add a condition so that it will trigger when that type of unit dies. If that is what you mean. It should be something like:
Code:
(Unit-Type of (Triggering Unit)) Equal to (Ugly Hunter)

Under Unit-Type Conditions. :D
 

Sivert

New Member
Reaction score
0
I got another question: How do I get a proper Countdown to work? I tried some stuff but the only thing that happend was a text appearing in the upper right corner. I probably did it all wrong though ^^. I made two triggers..

Code:
Events
 Time - Elapsed game time is 15.00 seconds
Conditions
Action
 Countdown Timer - Start (Expiring timer) as a One-shot timer that will expire in 300.00 seconds
 Game - Display to (All players) for 30.00 seconds the text: |cffff0000In 5 minu...
And:
Code:
Events
 Time - Elapsed game time is 15.10 seconds
Conditions
Actions
 Countdown Timer - Create a timer window for (Expiring timer) with title |cff32CD32Storm app...

Thanks in advance!
 

waaaks!

Zinctified
Reaction score
255
I actually wanted "add 0.5" or something
get an item ability that adds strenght, then make the strenght bonus to 0.50
then add that ability to the unit
 

Sivert

New Member
Reaction score
0
Need help with a "storm" that deals 2 hp each second to all units within a region.. Anyway I can make this "storm"?
 

Sivert

New Member
Reaction score
0
Sorry for dobbel-post but can a moderator please change the subject of this thread to Sivert's question's thread or something?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top