summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/level2-rain.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/magic/level2-rain.txt')
-rw-r--r--world/map/npc/magic/level2-rain.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/world/map/npc/magic/level2-rain.txt b/world/map/npc/magic/level2-rain.txt
index f9e091f2..ad38ab6a 100644
--- a/world/map/npc/magic/level2-rain.txt
+++ b/world/map/npc/magic/level2-rain.txt
@@ -12,6 +12,11 @@ OnCast:
if (.@map_ext[1] != 1 && getmap() != "099-5") end; // XXX this is fugly, in the future let's use MF_OUTSIDE to detect if a map is "outside" or "inside"
if (getmapflag(getmap(), MF_TOWN)) end;
if (countitem("BottleOfWater") < 1) end;
+ if (getskilllv(.school) < 4 && countitem("BottleOfWater") >= 1) goto L_Continue;
+ elif (getskilllv(.school) < 4) end;
+ goto L_Continue;
+
+L_Continue:
if (getmap() == "033-1") goto L_SpecialRules6;
goto L_Pay;