HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Individual Hero XP gain rate?

06-27-2006, 09:56 PM#1
Sardius
If you have 2 Heroes on the same player. Is it possible to set their specific XP gain rate so it only effects that one hero? and not all heroes under the player's control, cause the only method I've been able to find is.

Hero - Make Player 1 (Red) Heroes gain 50.00% experience from future kills

But that effects all heroes.
06-27-2006, 10:08 PM#2
Captain Griffen
Trigger:
XP
Collapse Events
Time - Every 1.00 seconds of game time
Conditions
Collapse Actions
Hero - Set (Triggering unit) experience to (((((Hero experience of (Triggering unit)) - HeroXP) x HeroXPpercent) + HeroXP) / 100), Hide level-up graphics
Set HeroXP = (Hero experience of (Triggering unit))
06-28-2006, 05:24 AM#3
Ignitedstar
Then again, can't you just go to game constants and turn the heroes share exp thing to 1 or something? That way, other heroes around the hero won't gain exp, right? Unless I'm thinking about something else.
06-28-2006, 12:16 PM#4
Rising_Dusk
I'm going to assume Griff's trigger was just a quick example, otherwise it wouldn't work at all since in a periodic trigger there is no Triggering Unit.

His method would work with a little refining, but the gist of what you'll need to do is individually trigger each hero's experience gain. That means not using WC3s innate exp system.

And Ignited, the only constants that work for experience are "Building kills give exp", "Global distribution", and "Max level heros drain exp".
The rest are just numericals that don't do anything to stop shared exp.