Commit e4a6635d7e82ad35af59cbfdc3bbb4cde58c3705

Authored by DarkGod
2 parents fb686cb8 d22f7ad1

Merge branch 'fix_psi_shield' into 'master'

fix psi shield's absorption turn negative at high power & lv



See merge request !797
... ... @@ -32,7 +32,7 @@ local function maxPsiAbsorb(self, t) -- Max psi/turn to prevent runaway psi gain
32 32 end
33 33
34 34 local function shieldMastery(self, t)
35   - return 100-self:combatTalentMindDamage(t, 40, 50)
  35 + return math.max(5, math.floor(100-self:combatTalentMindDamage(t, 40, 50)))
36 36 end
37 37
38 38 local function kineticElement(self, t, damtype)
... ...