[b30] Equilibrium gain on hit/archery
Posted: Mon Jul 25, 2011 7:16 am
Archery looks like it doesn't regenerate Equilibrium (from hats of Absorption etc...)
From Archery.lua
Should probably be the same as:
From Combat.lua
Found code diving. Haven't tested in game.
From Archery.lua
Code: Select all
-- Regen on being hit
if hitted and not target.dead and target:attr("stamina_regen_on_hit") then target:incStamina(target.stamina_regen_on_hit) end
if hitted and not target.dead and target:attr("mana_regen_on_hit") then target:incMana(target.mana_regen_on_hit) end
From Combat.lua
Code: Select all
-- Regen on being hit
if hitted and not target.dead and target:attr("stamina_regen_on_hit") then target:incStamina(target.stamina_regen_on_hit) end
if hitted and not target.dead and target:attr("mana_regen_on_hit") then target:incMana(target.mana_regen_on_hit) end
if hitted and not target.dead and target:attr("equilibrium_regen_on_hit") then target:incEquilibrium(-target.equilibrium_regen_on_hit) end