1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Unable get promotion for units

Discussion in 'Bug Reports' started by stimprunk, Nov 24, 2017.

  1. stimprunk

    stimprunk Chieftain

    Oct 30, 2017
    Units after recieving new weapons get upgrade. If unit with 2 promotion 1 lvl (battlecry and tortoise for melee) get upgrade, it cannt get new promotion. Unit receive 15 exp and no promotion screen.

    Attached Files:

    • Lua.zip
      File size:
      2.1 KB
  2. Gedemon

    Gedemon Modder Moderator

    Oct 4, 2004
    Thank you.

    I can't fix that one in a simple way, we don't have method to set the experience level of an unit we (re)create, we can set the experience points only.

    I'm still thinking about the alternatives here. I could make promotions to not require an experience level, but then the units will get promotions too quickly.

    I'll try to neutralize the vanilla XP gain and set/track a custom XP value to trigger promotion (IE give the unit 15 "real" XP points) when the custom XP reach a value corresponding to a custom "level"

Share This Page