summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/magic/level1-flare-dart.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/magic/level1-flare-dart.txt b/npc/magic/level1-flare-dart.txt
index 4d73d73e..6e88ec72 100644
--- a/npc/magic/level1-flare-dart.txt
+++ b/npc/magic/level1-flare-dart.txt
@@ -9,6 +9,10 @@ function script SK_Flar {
mcharge(SulphurPowder, SKILL_MAGIC_WAR, 1);
// Effective magic code
.@PW=70+(5*@skillLv);
+ // Rain penalty
+ if ("#WeatherCore"::weather(MASK_RAIN))
+ .@PW-=20;
+ // Calculate real damage
.@dmg=AdjustSpellpower(.@PW);
harm(@skillTarget, .@dmg, HARM_MAGI, Ele_Fire);
GetManaExp(@skillId, 1);