Sid Meier's Civilization VI

Sid Meier's Civilization VI

EpsTweak for Healing on Promotion
11 Comments
Eps  [author] 15 Feb, 2022 @ 2:40am 
Alternatively, you can try to find to event in question in a lua file inside your game folder, under "Base" or "DLC". Most of the UI and scenario scripting lies there in the open as simple lua files.
Eps  [author] 15 Feb, 2022 @ 2:30am 
Figuring out what parameters each event uses takes a bit of reverse engineering. I start by passing it a function with 8 parameters that just prints out those 8 parameters.
Eps  [author] 15 Feb, 2022 @ 2:28am 
I got the list of events from civfanatics way back when. Don't believe this is quite the thread I used [forums.civfanatics.com], but it's also a good list.
Ripz 14 Feb, 2022 @ 9:42pm 
thats executed after the movement loss from promotion, right? i'd need to get the current movement beforehand, save it in a variable, and then apply it there, right? probably would need to add a new event listener function for that but no idea what event i'd have to add it to. is there a list of events somewhere for modders to reference? i tried looking for an api online somewhere before but had no luck.

thanks for the reply btw.
Eps  [author] 8 Feb, 2022 @ 1:49pm 
That would require editing the LUA script. The OnUnitCommandStarted event to be exact.
Ripz 8 Feb, 2022 @ 7:29am 
any way i could edit it so promotions dont even effect movement?
kroill 23 Oct, 2021 @ 11:09pm 
It's a pity, but this feature deprives Colombia of a unique feature. If it could be configured so that units do not receive a move point after healing, except Columbia, but continue to receive 20 health points after healing, then it would be great.
Eps  [author] 11 May, 2021 @ 12:22am 
If it did it would be visible in the script as modifier ID's. I don't know why it's not updating for you?
Galindus 10 May, 2021 @ 4:13pm 
EPS - I like this mod, and am trying to do a very small tweak to it, but it is not taking. I wanted to set the HP healing to 25 points vs. 20, and remove the free Movement point. Inside of the lua script, I have changed the variable "epsTweakPromoHealAmount = 25;" and changed the unit:changeMovesRemaining(0) on line 21. The changes aren't taking, and it is still doing only 20HP. I'm curious if the script is pulling the amounts from another place.
ashton2879 8 Apr, 2021 @ 10:52am 
Been using this mod for a while now and I agree it is a huge improvement. I don't think I can play without it. Thank you for the work you put in Eps.
The Big Red Cheese 13 Aug, 2020 @ 6:52pm 
I checked like everyone of your mods so far, and like hated all of them... but this one makes that all worth it! This is a huge quality of life improvement. Worth sifting through like 90 other things. :P