Results 1 to 3 of 3

Thread: Unit experience bonus from buildings

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Unit experience bonus from buildings

    In building_units_allowed_tables, I have a particular unit being built by a Fort. I now want to give it an xp bonus via another building (say some Dojo). In game, the (Dojo) building tooltip shows that it allows the unit and shows the unit with the extra chevrons, but in the Que - and when I build it, it doesn't receive the xp bonus.

    Anyone know if what I'm trying to do is possible?

    Any help is appreciated. Thanks!

  2. #2

    Default Re: Unit experience bonus from buildings

    It should be possible. The db table you want is likely building_effects_junction. There are a couple bonuses in there such as mod_unit_xp_bow_warrior_monks. There are only 4 different unit types given xp bonuses though: bow warrior monks, battlefield ninja, ships, and naginata warrior monks. You would probably have to guess the entries for other unit types, unless someone else knows what they are, or there is a list of them somewhere. Hope that helps some.

  3. #3

    Default Re: Unit experience bonus from buildings

    building_effects_junction looks like it has potential, but I'm not having any luck guessing what the field should be. I wonder if that field is a lua function. I'll grep through lua files and maybe get lucky. Thanks again, and if anyone knows otherwise please chime in!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •