summaryrefslogtreecommitdiff
path: root/npc/functions/aurora.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/aurora.txt')
-rw-r--r--npc/functions/aurora.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/npc/functions/aurora.txt b/npc/functions/aurora.txt
index 8e9c45800..00e1159e1 100644
--- a/npc/functions/aurora.txt
+++ b/npc/functions/aurora.txt
@@ -572,8 +572,9 @@ function script FYEConf_Olympics {
// Modify Magic Skills
function script FYE_Olympics_SK {
if ($EVENT$ != "Olympics") return;
+
.@sk=getarg(0, @skillId);
- .@sl=getarg(1, @skillLevel);
+ .@sl=max(getarg(1, @skillLv), 1);
.@st=getarg(2, @skillTarget);
.@cl = $@MSK_CLASS[.@sk];
@@ -595,6 +596,7 @@ function script FYE_Olympics_SK {
.@sk != TMW2_TRANSMIGRATION &&
.@sk != TMW2_OVHFIRE)
FYMOLY_SPAMMY += .@sl;
+
setq Q_AuroraEvent, getq2(Q_AuroraEvent) + rand2(.@sl + 1);
return;
}