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

[R&F] Trying to do some simple SQL

Discussion in 'Mod Creation Help' started by Makarya, Feb 5, 2019.

  1. Makarya

    Makarya Chieftain

    Joined:
    Jul 25, 2018
    Messages:
    21
    Hello, I tried to change what i think is a bug. Promotion Arrow Storm giving a bonus when defending.

    I started by doing some XML (maybe not the best idea but i already used that) to create an alternate Modifier.
    Then i writed a simple line to change the modifier for the promotion to my new modifier. No crash, no error in database.log (except in localization, but doesn't look linked to my problem).
    But nothing changed in game. I checked the db (DebugGameplay.sqlite) and no effect of my sql query.

    PS: tried the query in sqlite and no problem.

    SQL: UPDATE UnitPromotionModifiers SET ModifierID='MAKA_ARROW_STORM_BONUS_VS_LAND_AND_SEA_UNITS' WHERE UnitPromotionType='PROMOTION_ARROW_STORM';
     

    Attached Files:

Share This Page