[git]Disruption Shield fix

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
zhouwei_e
Cornac
Posts: 35
Joined: Tue Feb 14, 2012 10:01 am

[git]Disruption Shield fix

#1 Post by zhouwei_e »

Code: Select all

 game/modules/tome/class/Actor.lua |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/game/modules/tome/class/Actor.lua b/game/modules/tome/class/Actor.lua
index e7e49d6..5984ddf 100644
--- a/game/modules/tome/class/Actor.lua
+++ b/game/modules/tome/class/Actor.lua
@@ -1519,6 +1519,7 @@ function _M:onTakeHit(value, src)
 			return 0
 		-- Or the shield collapses in a deadly arcane explosion
 		else
+			self:incMana(mana)
 			local dam = self.disruption_shield_absorb
 
 			-- Deactivate without loosing energy

Post Reply