Welcome to Calradia, the year is 1717, and the smell of sulfur hangs in the air. Musket fire and cannonades echo across the land as Calradia is once again beset by war. Our story begins in the declining Calradian Empire of the 18th century, it's borders bombarded ceaselessly by countless enemies that surround them. Fight with daring riflemen, dashing Hussars or battle hardened grenadiers under your command as you serve the modern nations of Calradia or begin your journey as the Emperor or Emperoress in this land of chaos.

Forum Thread
  Posts  
Medicine doesn't regain health after battle (Games : Mount & Blade: Warband : Mods : Calradia: Imperial Age - Dragoon Edition : Forum : Minor bugs (none game breaking) : Medicine doesn't regain health after battle) Locked
Thread Options
Jan 3 2021 Anchor

Hi!

So I found a small bug: the medicine you can buy at the general supplier (laudanum, the draught, etc) makes you regain health only during a scene and not on your character stats. To put it in a simpler way: even if you use a tonic to regain health during battle, those changes won't stay after battle. So if you started with 8hp and took the draught that make you regain 10 health, you will still have 8hp after battle.

Fortunately, I know how to fix this because I had a similar issue with my mod. Basically, this bug happens because only the "agent" gains health and not the "troop" stats. If you're using the python modsys, add this line to the same script:

(troop_set_health,"trp_player", ":newhp_player")

The variable ":newhp_player" is of course the current amount of hp + whatever the amount received by the medicine

Keep up the good work!

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.