Sid Meier's Civilization VI

Sid Meier's Civilization VI

EpsTweak for Healing on Promotion
11 kommentarer
Eps  [ophavsmand] 15. feb. 2022 kl. 2:40 
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  [ophavsmand] 15. feb. 2022 kl. 2:30 
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  [ophavsmand] 15. feb. 2022 kl. 2:28 
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 kl. 21:42 
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  [ophavsmand] 8. feb. 2022 kl. 13:49 
That would require editing the LUA script. The OnUnitCommandStarted event to be exact.
Ripz 8. feb. 2022 kl. 7:29 
any way i could edit it so promotions dont even effect movement?
kroill 23. okt. 2021 kl. 23:09 
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  [ophavsmand] 11. maj 2021 kl. 0:22 
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. maj 2021 kl. 16:13 
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 kl. 10:52 
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 kl. 18:52 
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