summaryrefslogtreecommitdiff
path: root/npc/001-14/ctrl.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/001-14/ctrl.txt')
-rw-r--r--npc/001-14/ctrl.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/npc/001-14/ctrl.txt b/npc/001-14/ctrl.txt
index 7b8386497..c64d20dc6 100644
--- a/npc/001-14/ctrl.txt
+++ b/npc/001-14/ctrl.txt
@@ -120,6 +120,8 @@ OnCheck:
OnEnd:
if (@moly_chall != 1) end;
+ .@pts=getq2(Q_AuroraEvent);
+ setq2 Q_AuroraEvent, .@pts+rand2(1, 1+@moly_scr/10);
dispbottom l("End! Score this time: %d", @moly_score);
FYMOLY_ENBALL = max(FYMOLY_ENBALL, @moly_score);
@moly_score = 0;
@@ -281,6 +283,8 @@ OnTimer10000:
if (@moly_chall != 6) end;
@moly_score = (getunitdata(.mob, UDT_HP) - getunitdata(.mob, UDT_MAXHP)) * -1;
killmonsterall(getmap());
+ .@pts=getq2(Q_AuroraEvent);
+ setq2 Q_AuroraEvent, .@pts+rand2(1, 1+@moly_score/1500);
dispbottom l("End! Score this time: %d", @moly_score);
FYMOLY_MPWLVL = max(FYMOLY_MPWLVL, @moly_score);
@moly_score = 0;
@@ -589,6 +593,8 @@ OnWin:
if (@moly_tick < gettimetick(2) / 2) end; // Ticks were Corrupted
@moly_score = gettimetick(2) - @moly_tick;
if (@moly_score < 8) end; // This is impossible*, don't even bother
+ .@pts=getq2(Q_AuroraEvent);
+ setq2 Q_AuroraEvent, .@pts+rand2(1, 1+BaseLevel/20);
dispbottom l("End! Score this time: %s", FuzzyTime(@moly_tick));
if (FYMOLY_RACERS >= 8)
FYMOLY_RACERS = min(FYMOLY_RACERS, @moly_score);
@@ -763,6 +769,8 @@ OnClM:
OnEnd:
if (@moly_chall != 9) end;
+ .@pts=getq2(Q_AuroraEvent);
+ setq2 Q_AuroraEvent, .@pts+rand2(1, 1+@moly_score/10);
dispbottom l("End! Score this time: %d", @moly_score);
FYMOLY_HOCUSM = max(FYMOLY_HOCUSM, @moly_score);
@moly_score = 0;
@@ -805,6 +813,8 @@ OnCheck:
// Game Over!
killmonsterall(getmap());
@moly_score = @moly_score / 2;
+ .@pts=getq2(Q_AuroraEvent);
+ setq2 Q_AuroraEvent, .@pts+rand2(1, 1+@moly_score/20);
dispbottom l("End! Score this time: %s", FuzzyTime(gettimetick(2)+@moly_score));
FYMOLY_SURVIV = max(FYMOLY_SURVIV, @moly_score);
@moly_score = 0;