Commit b4a5029a3285c0c352273e14f80301f3b47f914c

Authored by dg
1 parent 28306064

obviousness is good


git-svn-id: http://svn.net-core.org/repos/t-engine4@4438 51575b47-30f0-44d4-a5cc-537603b46e54
... ... @@ -1521,7 +1521,7 @@ function _M:die(src)
1521 1521 end
1522 1522 end)
1523 1523 end
1524   -
  1524 +
1525 1525 -- Increase vim
1526 1526 if src and src.knowTalent and src:knowTalent(src.T_VIM_POOL) then src:incVim(1 + src:getWil() / 10) end
1527 1527 if src and src.attr and src:attr("vim_on_death") and not self:attr("undead") then src:incVim(src:attr("vim_on_death")) end
... ... @@ -2236,10 +2236,10 @@ function _M:preUseTalent(ab, silent, fake)
2236 2236 end
2237 2237 if not silent then game.logPlayer(self, "You lose control and unleash an anomaly!") end
2238 2238 self:forceUseTalent(rng.table(ts), {ignore_energy=true})
2239   - self:incParadox(-(ab.paradox and ab.paradox * paradox_scaling or ab.sustain_paradox))
  2239 + self:incParadox(-(ab.paradox and (ab.paradox * paradox_scaling) or ab.sustain_paradox))
2240 2240 self:useEnergy()
2241 2241 return false
2242   - -- Now check for failure
  2242 + -- Now check for failure
2243 2243 elseif not self:attr("no_paradox_fail") and self:paradoxFailChance(ab.paradox or ab.sustain_paradox) then
2244 2244 if not silent then game.logPlayer(self, "You fail to use %s due to your paradox!", ab.name) end
2245 2245 self:incParadox(ab.paradox or ab.sustain_paradox / 10)
... ...