Hero XP Question

garion992

TH.net Regular
Reaction score
17
Hero problem

I have some questions about heroes...

1: Heroes share the exp gained in an area. How ca i set that off?
2: Max hero level is 18. But i want some heroes to get only level 4. Should i use this code, or is there something better?
Code:
Murloc Ranger
    Events
        Unit - A unit Gains a level
    Conditions
        (Unit-type of (Triggering unit)) Equal to Murloc (Ranger)
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Level of (Triggering unit)) Greater than or equal to 4
            Then - Actions
                Hero - Disable experience gain for (Triggering unit)
            Else - Actions
3: can i make the unit unreviveable? (normal heroes must still be able to revive)

Thx,
Garion992
 

darkRae

Ueki Fan (Ueki is watching you)
Reaction score
173
Unreviveable? Just don't make any 'tools to revive' for that player (like, no altar)
 

garion992

TH.net Regular
Reaction score
17
thats the problem, i have normal heroeas that must be revived. So i need an altar. But the most important thing is the experience shared. I dont want that.
 

Kenoriga

Ultra Cool Member
Reaction score
34
Try having heroes that are the non-normal heroes, in Gameplay constats. I think its under Techtree requirements - Hero.

Then, don't put any normal heroes in there. I am afraid that way, you might need to trigger revival and the exp might still be shared.

But you could try it if you want to.
 

garion992

TH.net Regular
Reaction score
17
ok thx! It doesnt works for share exp btw, it doesnt matters. I decided that share exp will be good, cause otherwise all the units will levels so fast.
 

Rheias

New Helper (I got over 2000 posts)
Reaction score
232
As for 3:

Code:
Untitled Trigger 001
    Events
        Unit - A unit Becomes revivable
    Conditions
    Actions
        Player - Make (Unit-type of (Triggering unit)) Unavailable for training/construction by (Owner of (Triggering unit))

This one won't work probably, maybe this one will (depends on how powerful the 'stop' command is, never got to test it):

Code:
Untitled Trigger 002
    Events
        Unit - A unit Begins training a unit
    Conditions
        ((Trained unit) is A Hero) Equal to True
    Actions
        Unit - Order (Triggering unit) to Stop

Try both.
 
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