ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Sun Nov 17, 2019 11:29 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Windblade/steamsaws?
PostPosted: Thu Jul 13, 2017 1:26 am 
Offline
Wayist

Joined: Tue Feb 14, 2017 9:08 pm
Posts: 21
Noticed a while back (tome1.3.5?) that Sawbutchers can't learn Windblade prodigy without workaround shenanigans... apparently because the logic in attackTargetWith() returns mode="shield" instead of mode="dualwield" as the prodigy requires. This also results in an Ogre using 2h+shield being unable to unlock Massive Blow.

Unless there's a particular reason to consider shields with a higher priority or some drawback to having steamsaw damage logged as dualwield, the simplest solution that doesn't require adding a separate operation (in data/damage_types.lua around line555) to determine the mode again in order to record multiple combat modes... would be to reorder the checks (mod/interface/Combat.lua around line405)

from
Code:
local mode = "other"
if self:hasShield() then mode = "shield"
elseif self:hasTwoHandedWeapon() then mode = "twohanded"
elseif self:hasDualWeapon() then mode = "dualwield"
end

to
Code:
if self:hasTwoHandedWeapon() then mode = "twohanded"
elseif self:hasDualWeapon() then mode = "dualwield"
elseif self:hasShield() then mode = "shield"
end


Which still results in a odd workaround for the corner-case of an Ogre with 2h+dagger needing to use 1h+dagger for a while to get Windblade instead of Massive Blow, but derails gameplay a lot less than requiring sawbutchers to use daggers, which leaves them unable to use their class talents.




Also the same logic structure of checking if hasShield() ... elseif hasDualWeapon() ... results in dual-steamsaw users having the x75% Arcane Combat proc penalty instead of x50% for dual wielding. Which may or may not be intentional because Arcane Chainsaw is kinda fun. (The relevant checks appear in mod/class/interface/Combat.lua~line813 and data/talents/techniques/magical-combat.lua~line66)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group