summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/re/item_db.conf3
-rw-r--r--npc/021-1/logic.txt14
2 files changed, 15 insertions, 2 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index e833d7a51..b4af3ed74 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -5873,6 +5873,9 @@ item_db: (
EquipLv: 20
Refine: true
ViewSprite: 1323
+ Script: <"
+ bonus bDefEle,Ele_Fire;
+ ">
},
{
Id: 1324
diff --git a/npc/021-1/logic.txt b/npc/021-1/logic.txt
index 61b5ff8d4..0b0a7d75a 100644
--- a/npc/021-1/logic.txt
+++ b/npc/021-1/logic.txt
@@ -3,9 +3,11 @@
// The Mana World Team
// Jesusalva
// Description:
-// Cave logic
+// Cave logic. Controls also switchs and false warps.
-021-1,155,196,0 script #MainLogic NPC_NO_SPRITE,0,0,{
+021-1,155,196,0 script #MainCindyLogic NPC_NO_SPRITE,0,0,{
+ end;
+OnTouch:
.@q=getq(NivalisQuest_Cindy);
if (.@q < 4) end;
if ($@CINDY_STATE > gettimetick(2) || $@CINDY_STATE == 0) goto L_Safe;
@@ -21,3 +23,11 @@ L_Safe:
dispbottom l("There's no reason to enter these caves now.");
end;
}
+
+021-1,136,29,0 script #FrostiaGateway NPC_NO_SPRITE,0,0,{
+ end;
+OnTouch:
+ npctalkonce l("You need to be using a @@ because extremely cold temperatures.", getitemlink(RedknightArmor));
+ end;
+
+}