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

[XML+Python] Promotion: Hunter 2016-10-05

[XML+Python] Promotion: Hunter

  1. The_J
    This mod component ads a promotion to the game, which allows units to gain experience through fights against animal units, even after they reached the 5XP limit for fight against aniamls. The promotion will also be used by the AI under certain circumstances.

    The download includes besides the PromotionInfos.xml and text XML for the promotion entry the CvEventManager.py with 2 changes (labeled with hunter) and the promotion button (out of this pack by Rabbit, White).

    In the modified there is TRAIT_AGGRESSIVE mentioned, which will influence the AI (you'll have to change that if you changed/removed it).

    guidelines for AI decissions:
    Spoiler :
    AI will pick the promotion if:
    - not "no barbarians" is activated
    - the current player era still allows animals
    - the unit is on a plot owned by the AI or on a neutral plot (so no dumb picking during a city siege)
    - the unit level is below 8 (so not wasting a possibility for combat V or Blitz)
    - and picking the promotion is really valid
    Then a dice is rolled, and picking gets more likely if raging barbarians is activated or the player is aggressive.


    This mod component was requested by hrochland.

    In case people are interested in similar mod components, they should take a look at Basic Barbarian Great General Experience.

    Images

    1. hunter_MCb.jpg