XCOM: Chimera Squad

XCOM: Chimera Squad

39 个评价
Ends Turn Tooltips
   
奖励
收藏
已收藏
取消收藏
标签: UI, QoL
文件大小
发表于
67.633 KB
2020 年 10 月 18 日 上午 11:31
1 项改动说明 ( 查看 )

订阅以下载
Ends Turn Tooltips

描述
Adds a message to the ability tooltip if using the ability will end the turn.

Firaxis had this mostly implemented, so this mod is really only one line of new code. I could probably modify it to use a ScreenListener instead of a class override, but I figured it wasn't worth it to set up that hack for such a small change.

Known Issues
  • None

Compatibility
  • Overrides the UITacticalHUD_AbilityTooltip class
7 条留言
Juravis 2020 年 11 月 7 日 下午 10:00 
Sample:

https://ibb.co/qBQ7KLn

Note: Deadeye does not exhibit the issue
Juravis 2020 年 11 月 7 日 下午 9:58 
You'll need to add an exception. Blueblood's pistol fire does not end the turn, but the tooltip detects it does. Even Icon Colors is confused and needs a manual exception.

Exception is in 'PistolStandardShot', Desperado makes it not end the turn.

// Action Point
ActionPointCost = new class'X2AbilityCost_DesperadoActionPoints';
ActionPointCost.iNumPoints = 1;
ActionPointCost.bConsumeAllPoints = true;
Template.AbilityCosts.AddItem(ActionPointCost);
Loc[K]e 2020 年 10 月 21 日 下午 2:37 
Great Job! :sectoid:
=[NK]= Col. Jack O'Neil 2020 年 10 月 20 日 下午 8:25 
FYI BT, this was AA's response to any conflict
"I do not override UITacticalHUD_AbilityTooltip."
=[NK]= Col. Jack O'Neil 2020 年 10 月 19 日 下午 10:29 
Thanks!
BTernaryTau  [作者] 2020 年 10 月 19 日 下午 5:25 
Probably, unless one of their mods overrides UITacticalHUD_AbilityTooltip as well.
=[NK]= Col. Jack O'Neil 2020 年 10 月 19 日 下午 5:05 
Would this work along side all of advent avengers changes???