• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Heroes randomly leveling up

Status
Not open for further replies.
Level 8
Joined
Jan 17, 2019
Messages
163
Hello, in my map I have it set in the game preferences so heroes do not gain experience and only level up through triggers. However during gameplay they still randomly gain levels (especially if a large group of units die at once). Anyone know a better way of doing this or know how I could rig a trigger to fix it?
 
Level 5
Joined
Apr 7, 2018
Messages
69
Disabling Xp
  • Melee Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Hero - Disable experience gain for Blood Mage 0000 <gen>
Adding XP
  • Untitled Trigger 001
    • Events
      • Unit - A unit Dies
    • Conditions
    • Actions
      • Hero - Enable experience gain for Blood Mage 0000 <gen>
      • Hero - Add 25 experience to Blood Mage 0000 <gen>, Show level-up graphics
      • Hero - Disable experience gain for Blood Mage 0000 <gen>
 
Status
Not open for further replies.
Top