Skip to content
Snippets Groups Projects
Commit 4a21c030 authored by dg's avatar dg
Browse files

Fixed Prox halfling Feet when used on a halfling

git-svn-id: http://svn.net-core.org/repos/t-engine4@6800 51575b47-30f0-44d4-a5cc-537603b46e54
parent 72be7613
No related branches found
No related tags found
No related merge requests found
......@@ -108,7 +108,7 @@ end
-- @param target to whom is the exp rewarded
-- @return the experience rewarded
function _M:worthExp(target)
return self.level * self.exp_worth
return self.level * self.exp_worth * (target.exp_gain_mult or 1)
end
--- Method called when leveling up, module author rewrite it to do as you please
......
......@@ -1345,9 +1345,9 @@ It has been kept somewhat intact with layers of salt and clay, but in spite of t
if who.descriptor and who.descriptor.race == "Halfling" then
local Stats = require "engine.interface.ActorStats"
self:specialWearAdd({"wielder","inc_stats"}, { [Stats.STAT_LCK] = -10}) -- Overcomes the +5 Bonus and adds a -5 penalty
self:specialWearAdd({"wielder","combat_physicalsave"}, -5)
self:specialWearAdd({"wielder","combat_mentalsave"}, -5)
self:specialWearAdd({"wielder","combat_spellsave"}, -5)
self:specialWearAdd({"wielder","combat_physresist"}, -5)
self:specialWearAdd({"wielder","combat_mentalresist"}, -5)
self:specialWearAdd({"wielder","combat_spellresist"}, -5)
game.logPlayer(who, "#LIGHT_RED#You feel uneasy carrying %s.", self:getName())
end
end,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment