summaryrefslogtreecommitdiff
path: root/npc/magic
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-14 23:08:54 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-14 23:08:54 -0300
commit3d494df492ca0ef5038f0707cfc739b1677ef2fa (patch)
tree25f02f39543ba32aea901598f6cabb91b93ef751 /npc/magic
parent5a566ac50befd9d78423bff1bf437ef255439ee0 (diff)
downloadserverdata-3d494df492ca0ef5038f0707cfc739b1677ef2fa.tar.gz
serverdata-3d494df492ca0ef5038f0707cfc739b1677ef2fa.tar.bz2
serverdata-3d494df492ca0ef5038f0707cfc739b1677ef2fa.tar.xz
serverdata-3d494df492ca0ef5038f0707cfc739b1677ef2fa.zip
Silly Jesusalva, you MUST add the base time
Diffstat (limited to 'npc/magic')
-rw-r--r--npc/magic/level2-rain.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/npc/magic/level2-rain.txt b/npc/magic/level2-rain.txt
index 69f0746c..c008ae3a 100644
--- a/npc/magic/level2-rain.txt
+++ b/npc/magic/level2-rain.txt
@@ -25,11 +25,11 @@ function script SK_Kaflosh {
delitem BottleOfWater, 1;
GetManaExp(@skillId, 2);
- // Adjusted MATK will determine rain duration (10 ATK = 1s)
+ // Adjusted MATK will determine rain duration (11 ATK = 1s)
.@PW=80+(20*@skillLv);
.@dmg=AdjustSpellpower(.@PW);
- .@time=.@dmg/10;
- debugmes "KAFLOSH: Damage %d Time %d Climate %d", .@dmg, .@time, .@cl;
+ .@time=.@dmg/11;
+ //debugmes "KAFLOSH: Damage %d Time %d Climate %d", .@dmg, .@time, .@cl;
.@time+=getskilllv(SKILL_MAGIC_NATURE)-2; // +1 second per nature magic lv
// Adverse climate (eg. desert and icelands) will cut this to 1/3
@@ -42,7 +42,6 @@ function script SK_Kaflosh {
return;
}
- debugmes "KAFLOSH FINAL: Damage %d Time %d Climate %d", .@dmg, .@time, .@cl;
// Invoke the rain clouds; Everything else should work out of the box
// The builtin checks are not necessary in this case =D
// But would be for a sandstorm or snowstorm.