ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Sat Dec 14, 2019 7:46 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Mon Jun 26, 2017 4:47 am 
Offline
Low Yeek

Joined: Sun Sep 20, 2015 3:00 pm
Posts: 5
if learned T1 Stoneshield, your offhand sheild always do 50% damage(main hand is normal).I remember it has been buffed to no offhand penalty.
Sheild definition(part):
// special_combat = { talented="shield", accuracy_effect="staff", damrange = 1.2, no_offhand_penalty=true }.

Maybe bug is here:
Offhand's damage definition:
// local offmult = self:getOffHandMult(o.combat, mult)
// local combat = self:getObjectCombat(o, "offhand")
// if o.special_combat and o.subtype == "shield" and self:knowTalent(self.T_STONESHIELD) then combat = o.special_combat end。

sheild dont get combat but special_combat,
so in function getOffHandMult(combat, mult),
// if combat and combat.no_offhand_penalty then offmult = math.max(1, offmult) end,
this one isnt executed,and the function always return 0.5.

I think fix
// local offmult = self:getOffHandMult(o.combat, mult)
to
// local offmult = self:getOffHandMult(o.combat or o.special_combat, mult)
maybe can solve this bug.

And T3 Shards also has a bug,it use the enimy's talent, not the player's.If enimy dont get this talent, it always do the 40% weapon damage because of talent level 0.


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 6 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