summaryrefslogtreecommitdiff
path: root/npc/functions/global_event_handler.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/global_event_handler.txt')
-rw-r--r--npc/functions/global_event_handler.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/npc/functions/global_event_handler.txt b/npc/functions/global_event_handler.txt
index 3f10ae73..31a6b76a 100644
--- a/npc/functions/global_event_handler.txt
+++ b/npc/functions/global_event_handler.txt
@@ -58,16 +58,29 @@ OnNPCKillEvent:
callfunc("refineupdate");
if ($MONSTERS_KILLED % 1000000 == 0)
callfunc("GetBeanieCopter");
+ callfunc("mining");
+ callfunc("hunting");
+
+ //debugmes "Attacked with a %d (changed? %d) - Enemy killed with %d hits and %d defense used.", @weaponId, @weaponNew, @weaponAtk, @defend;
+ //debugmes "Absorbed %d DMG. Did %d crits; Missed %d Dodged %d.", @weaponDef, @weaponCrit, @weaponMiss, @weaponDodge;
+
+ // FIXME: Track status effect for VIT (SC resistance)
+ // FIXME: Track drops (LUK)
+ callfunc("GameplayCore");
end;
OnPCKillEvent:
$PLAYERS_KILLED+=1;
PLAYERS_KILLED+=1;
+ callfunc("GameplayCore");
end;
OnSkillInvoke:
callfunc("SkillInvoked");
end;
+OnPCBonusEvent:
+ callfunc("RebirthBonus");
+ end;
}