From 74c5bd56fd7211e709eca3ab6495e10aa22e1ef7 Mon Sep 17 00:00:00 2001
From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54>
Date: Wed, 20 Jun 2012 07:30:04 +0000
Subject: [PATCH] fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@5260 51575b47-30f0-44d4-a5cc-537603b46e54
---
 game/modules/tome/class/Object.lua | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/game/modules/tome/class/Object.lua b/game/modules/tome/class/Object.lua
index f628e275e6..7c97c522db 100644
--- a/game/modules/tome/class/Object.lua
+++ b/game/modules/tome/class/Object.lua
@@ -1258,10 +1258,10 @@ function _M:getPriceFlags()
 		if w.mana_regen_on_hit then price = price + w.mana_regen_on_hit * 3 end
 		if w.psi_regen_on_hit then price = price + w.psi_regen_on_hit * 3 end
 		if w.hate_regen_on_hit then price = price + w.hate_regen_on_hit * 3 end
-		if w.mana_on_crit then price = price + w.mana_regen_on_hit * 3 end
-		if w.vim_on_crit then price = price + w.vim_regen_on_hit * 3 end
-		if w.psi_on_crit then price = price + w.psi_regen_on_hit * 3 end
-		if w.hate_on_crit then price = price + w.hate_regen_on_hit * 3 end
+		if w.mana_on_crit then price = price + w.mana_on_crit * 3 end
+		if w.vim_on_crit then price = price + w.vim_on_crit * 3 end
+		if w.psi_on_crit then price = price + w.psi_on_crit * 3 end
+		if w.hate_on_crit then price = price + w.hate_on_crit * 3 end
 		if w.psi_per_kill then price = price + w.psi_per_kill * 3 end
 		if w.hate_per_kill then price = price + w.hate_per_kill * 3 end
 		if w.resource_leech_chance then price = price + w.resource_leech_chance * 10 end
-- 
GitLab