From 976b89d53d12e173fe34ae01096142e9e559dba9 Mon Sep 17 00:00:00 2001
From: AtlantisRO <atlas@atlantis-ro.net>
Date: Fri, 10 Mar 2017 20:22:39 -0700
Subject: Fixes #1533 - Fixes Peuz_Greave effect Signed-off-by: Ragno
 <ragno@atlantis-ro.net>

---
 db/re/item_db.conf | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'db')

diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index 67617bec9..b54876b23 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -31571,7 +31571,8 @@ item_db: (
 	EquipLv: 100
 	Script: <"
 		bonus bMaxSP,40;
-		bonus bAgi,-7+min(getequiprefinerycnt(EQI_SHOES),8);
+		if (getrefine() >= 8)
+			bonus bAgi, getrefine() - 7;
 	">
 },
 {
-- 
cgit v1.2.3-70-g09d2