XCOM 2
[LWOTC] Samurai Focus Fix
28 Comments
Dęąth Viper 13 May, 2024 @ 7:50pm 
Thanks for this Rusty.
none100p 2 Apr, 2024 @ 11:28am 
UPD. Lol, sorry for misinforming. So I Fed up, i was testing out adding mode mid fight and it never worked. Reloaded prev save after fight with it. Finished fight. Enabled mode, reran game, started new fight => Works like a charm.

I ended up having using solution froom underdawg

What i have in the list of my focuskillabilities is for XComGameData_SoldierSkills.ini is

+FocusKillAbilities=SwordThrust
+FocusKillAbilities=WhirlwindStrike
+FocusKillAbilities=DragonStrike
+FocusKillAbilities=SwordSlice
+FocusKillAbilities=SwordSlice_LW
+FocusKillAbilities=MusashiLightningStrikeT1
+FocusKillAbilities=MusashiLightningStrikeT2
+FocusKillAbilities=MusashiLightningStrikeT3
+FocusKillAbilities=Bladestorm
+FocusKillAbilities=ShieldBash
+FocusKillAbilities=Slash_LW
+FocusKillAbilities=LightningSlash_LW

Still not using primary secondaries.
none100p 2 Apr, 2024 @ 10:36am 
@Underdawg unfortunately this solution is not working anymore as well. Was trying multiple things including having this mod, having those lines and some other abilities in the list of focuskillabilities, having both of these, none of that worked.
also i'm not using and wasn't trying to use true primary secondaries instead of primary secondaries, so this might be an issue though.
Underdawg 19 Dec, 2023 @ 3:52am 
What I found to work:

In Wotc Samurai Class mod, I went into XComClassData.ini and added:

(AbilityType=(AbilityName="SwordSlice_LW", ApplyToWeaponSlot=eInvSlot_PrimaryWeapon)), \\

under the squaddie section.

Then in XComGameData_SoldierSkills.ini, I added:
+FocusKillAbilities=SwordSlice_LW
+FocusKillAbilities=MusashiLightningStrikeT1
+FocusKillAbilities=MusashiLightningStrikeT2
+FocusKillAbilities=MusashiLightningStrikeT3

This gives me focus when I kill with fleche and when I kill with quick slash. I hope this can be of help.
RustyDios  [author] 15 Sep, 2023 @ 9:06am 
Perhaps.. unfortunately I don't use this class myself.. or even LWOTC.. and I'm so strapped for time to devote towards modding efforts that investigating this single issue... is just very low priority. Sorry.
predator_3 15 Sep, 2023 @ 1:31am 
I don't accumulate anything when I kill. Perhaps the LWOTC has been updated and something has changed
Victor.Cheng 9 Sep, 2023 @ 9:15am 
Hi, I only got Focus when the samurai killed target by secondary weapon while main weapon kill did not lead to the Focus. Could you tell me how can i fix it? Should i change the setting of any
base mods?
Nitsah 26 Aug, 2023 @ 6:39am 
Bless you for this fix.
zcomegys 27 Jul, 2023 @ 5:35pm 
I have this mod equipped but it has not been working for me.
Beologe 6 Apr, 2023 @ 8:51am 
Thanks that you're still trying to solve the case :D
I looked and i had TRUE Primary Secondaries and the required mods plus the musashi mod fixes.
I read about problems of xcom 2 where the mods were not loading correctly, maybe that is the issue?
I'm happy as it works for me like this ^^ would be awefull if I break my savegame while trying to fix it ( as i said previously I'm not smart with modding x) )
RustyDios  [author] 6 Apr, 2023 @ 7:12am 
This sounds like you were using the newer TRUE Primary Secondaries without it's supporting mods; AbilityToSlotReassignment and Musashis Mod Fixes ... ... (as the former allows the latter to fix this issue)
Beologe 6 Apr, 2023 @ 2:34am 
i fixed it (kind of) by using the old version of primary Secondaries and not the beta version.
Maybe the beta get's updated sometime... anyway, thanks for the fix :D
RustyDios  [author] 13 Mar, 2023 @ 11:42pm 
Hmm, the issue of not having a melee attack is possibly from a conflict in LWotC between SwordSlice and SwordSlice_LW ... it should be handled correctly by AbilityToSlotReassignment, True Primary Secondaries and/or Dual Wield Melee.
Beologe 13 Mar, 2023 @ 11:33pm 
Hello :D
I love your fix ^^
I know it may soudn a bit too greedy... but you said you wanted to fix a issue with the samurai class and LWotC...
I've got a problem with the samurai class since i installed LWotC x) he doesn't have a melee attack for me, since I have absolutely no idea how much work it would be to fix it (I tried the fix of in the comments of the samurai class), could you try to fix it? :D
Anyway, thank you ^^
Mustang0524 9 Mar, 2023 @ 3:16am 
Ahh, I see. Well thank you for everything you've done with the Xcom modding community, many of your mods I consider essential!
RustyDios  [author] 8 Mar, 2023 @ 5:55am 
Honestly, no idea. It's been about 3yrs since I did an RPGO run. In theory, yes it should work.

The mod was made to address a specific issue between Musashi's Samurai Class and LWotC, but also made in a way that wouldn't restrict it to 'just LWotC'... ( or the class tbh, with exposure to config allowing for more classes/perks to be added)

If it works to fix an issue with RPGO's Samurai Spec too, then that is a bonus :)
Mustang0524 8 Mar, 2023 @ 5:16am 
Does this work for RPGO? I didn't test but I don't remember ever seeing focus points or the Shinigami skill showing up. Just from 5 minutes of playing after adding this mod I gained a Shinigami point.
RustyDios  [author] 23 Feb, 2023 @ 5:27pm 
Or to give the tracker to another of their Squaddie perks.
Tedster 23 Feb, 2023 @ 5:12pm 
yeah, adding it back to Rend probably would cause unintended side effects for the LWoTC Templar as well. Sadly the "solution" for other classes that want to use Rend is probably to duplicate it and then add the kill tracker to that duplicate instead
RustyDios  [author] 22 Feb, 2023 @ 11:13pm 
Hmm, maybe, for adding it back to rend.

But the way I'm doing it here to add the tracker to Shinigami should be working fine for non-rend.
Tedster 22 Feb, 2023 @ 10:22am 
@Rusty, I poked around the LWoTC code a bit more and it also does the removal using OPTC, so now we get fun load order shenanigans I guess.
MAKAVELI 22 Feb, 2023 @ 10:01am 
Why is my scale not filling up?
RustyDios  [author] 21 Feb, 2023 @ 1:44pm 
it needs to be a new line;

+PerksToGrantFocusKillTracking=Shinigami
+PerksToGrantFocusKillTracking=Rend

but again, if this is for LWotC, then that mod goes to extensive lengths to remove the KillTracker from Rend. Very possibly, undoing what this mod does
Seymore Buttz 0 21 Feb, 2023 @ 8:28am 
I added Rend to the config:

+PerksToGrantFocusKillTracking=Shinigami, Rend

But it doesn't seem to proc, do I need to add it somewhere to the event tracker? Is it checking only the samurai class/soldiers with shinigami before following through with the tracker, or would the above edit be the only thing needed to get focus to proc for rend?

Also just so you know I really appreciate you replying at all, I've been looking for a fix for a hot minute so thank you for the mod and the comment
RustyDios  [author] 20 Feb, 2023 @ 11:51pm 
I'm not familiar with the class, but if it is being used in LWotC then Rend won't proc focus as the entire LWotC-Mod is designed to remove the connection between Rend & focus.

This can be circumvented/worked around/restored by using this mod's configs so that another perk that class has can grant the focus-kill-tracker perk.
Seymore Buttz 0 20 Feb, 2023 @ 9:21pm 
Is it possible to make some sort of edit to this mod to fix the Shard Wielder mod? Rend is not procing focus, and I have attempted to used the focus kill tracker to fix this but so far I am not finding success
Altar 16 Feb, 2023 @ 3:02am 
Hallelujah my friends! Thank you very much for this.
Darthmanick 15 Feb, 2023 @ 5:27am 
Thank you very much. I had given up on my fav class mod, now I can play it again. :steamhappy: