Sid Meier's Civilization VI

Sid Meier's Civilization VI

EpsTweak for Healing on Promotion
11 条留言
Eps  [作者] 2022 年 2 月 15 日 上午 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  [作者] 2022 年 2 月 15 日 上午 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  [作者] 2022 年 2 月 15 日 上午 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 2022 年 2 月 14 日 下午 9: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  [作者] 2022 年 2 月 8 日 下午 1:49 
That would require editing the LUA script. The OnUnitCommandStarted event to be exact.
Ripz 2022 年 2 月 8 日 上午 7:29 
any way i could edit it so promotions dont even effect movement?
kroill 2021 年 10 月 23 日 下午 11: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  [作者] 2021 年 5 月 11 日 上午 12: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 2021 年 5 月 10 日 下午 4: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 2021 年 4 月 8 日 上午 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 2020 年 8 月 13 日 下午 6: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