1. We have added the ability to collapse/expand forum categories and widgets on forum home.
    Dismiss Notice
  2. All Civ avatars are brought back and available for selection in the Avatar Gallery! There are 945 avatars total.
    Dismiss Notice
  3. To make the site more secure, we have installed SSL certificates and enabled HTTPS for both the main site and forums.
    Dismiss Notice
  4. Civ6 is released! Order now! (Amazon US | Amazon UK | Amazon CA | Amazon DE | Amazon FR)
    Dismiss Notice
  5. Dismiss Notice
  6. Forum account upgrades are available for ad-free browsing.
    Dismiss Notice

Unable get promotion for units

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

  1. stimprunk

    stimprunk Chieftain

    Joined:
    Oct 30, 2017
    Messages:
    4
    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
      Views:
      13
  2. Gedemon

    Gedemon Modder Moderator

    Joined:
    Oct 4, 2004
    Messages:
    7,519
    Location:
    France
    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