XCOM 2
[WOTC] Soldier Development
 Denne tråd er blevet fastgjort, så den er sikkert vigtig
Hotl3looded  [udvikler] 3. apr. 2018 kl. 12:00
Mobility
TBC
< >
Viser 16-22 af 22 kommentarer
BurgerKing 13. apr. 2021 kl. 16:33 
As Hotblood explained, you only have a chance for +Mobility if you dash in one go. This chance is roughly ~15% by with default settings. Secondly, you cannot perform anything else if you keep dashing during timed missions.

However, there is an exploit to proc +Mobility with just 1AP: https://ibb.co/WvkjL7G

NOTES:
Final Destination should be within Blue Range from Current Location.
CTRL-RMB, then RMB to Final Destination in one go. Melee Attacks works too.
This is not a true 1AP Dash. This mod simply checks the distance you travel to denote a dash instead of APs spent for a single move.
jasonw0041 6. juni 2021 kl. 21:27 
Not sure if anyone encountered this. If the default mobility is set to 14, anyone with higher mobility that receives the mobility increase will be reset back to 14. I triggered 2 mobility increases on 2 soldiers with 16 and 15 mobility respectively. Both were reset back to 14 upon receiving the boost. I modified the INI file default value to 18 and the issue was gone.
Layth36 5. aug. 2021 kl. 16:17 
Oprindeligt skrevet af jasonw0041:
Not sure if anyone encountered this. If the default mobility is set to 14, anyone with higher mobility that receives the mobility increase will be reset back to 14. I triggered 2 mobility increases on 2 soldiers with 16 and 15 mobility respectively. Both were reset back to 14 upon receiving the boost. I modified the INI file default value to 18 and the issue was gone.
i did encounter it too. i tried on several soldiers and i was shocked i lost mobility instead of gaining it. ill try ur fix hopefully itll work
BurgerKing 28. jan. 2022 kl. 16:46 
@jasonw0041,
This is true. The original codes only check if it is already maxed, but not over:

X2EventListener_TacticalAction.uc, line 290
if (SourceUnit.GetBaseStat(StatType) == MaxStat)
return ELR_NoInterrupt;

It should be:

if (SourceUnit.GetBaseStat(StatType) >= MaxStat)
return ELR_NoInterrupt;
Sidst redigeret af BurgerKing; 28. jan. 2022 kl. 17:36
Zanten 8. juni 2022 kl. 9:18 
@ragnakore where i can find this file?
Sidst redigeret af Zanten; 8. juni 2022 kl. 9:18
Oprindeligt skrevet af ragnakore:
@jasonw0041,
This is true. The original codes only check if it is already maxed, but not over:

X2EventListener_TacticalAction.uc, line 290
if (SourceUnit.GetBaseStat(StatType) == MaxStat)
return ELR_NoInterrupt;

It should be:

if (SourceUnit.GetBaseStat(StatType) >= MaxStat)
return ELR_NoInterrupt;

Hi there, sorry I am pretty new to this, so I will ask straight away:
Do you mean that if I change the code from:

"if (SourceUnit.GetBaseStat(StatType) == MaxStat)
return ELR_NoInterrupt;"
to
"if (SourceUnit.GetBaseStat(StatType) >= MaxStat)
return ELR_NoInterrupt;"
Then I can worry not about the cap limit making my higher mobility units getting nerfed back to 14?
Sidst redigeret af Cringe Isekai Enjoyer; 19. okt. 2022 kl. 4:55
EvilBob22 9. nov. 2022 kl. 14:44 
The code Ragnakore was talking about is in one of the Unreal script files (.uc), not a config (.ini). So yes, it will fix the problem, but only once the code is re-compiled. Either Hotblooded needs to do it, or someone else create an entire new mod from a copy of the code (with the fix included).
< >
Viser 16-22 af 22 kommentarer
Per side: 1530 50