summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/005-1/_mobs.txt10
-rw-r--r--npc/005-7/trainer.txt7
2 files changed, 12 insertions, 5 deletions
diff --git a/npc/005-1/_mobs.txt b/npc/005-1/_mobs.txt
index 22191540a..55cd93258 100644
--- a/npc/005-1/_mobs.txt
+++ b/npc/005-1/_mobs.txt
@@ -2,9 +2,9 @@
// Map 005-1: Candor Island mobs
005-1,36,40,2,1 monster CloverPatch 1028,1,35000,300000
005-1,23,56,1,0 monster IronFragments 1058,1,35000,300000
-005-1,63,84,7,6 monster Maggot 1030,8,35000,300000
-005-1,82,87,8,9 monster CandorScorpion 1073,8,35000,300000
+005-1,63,84,7,6 monster Maggot 1030,8,35000,300000,Trainer::OnKillMaggot
+005-1,82,87,8,9 monster CandorScorpion 1073,8,35000,300000,Trainer::OnKillCandorScorpion
005-1,36,105,6,3 monster Piou 1002,1,35000,300000
-005-1,80,33,16,15 monster CandorScorpion 1073,16,35000,300000
-005-1,71,39,28,10 monster ManaBug 1075,4,35000,300000
-005-1,30,39,12,14 monster Scorpion 1071,2,35000,300000
+005-1,80,33,16,15 monster CandorScorpion 1073,16,35000,300000,Trainer::OnKillCandorScorpion
+005-1,71,39,28,10 monster ManaBug 1075,4,35000,300000,Trainer::OnKillManaBug
+005-1,30,39,12,14 monster Scorpion 1071,2,35000,300000,Trainer::OnKillScorpion
diff --git a/npc/005-7/trainer.txt b/npc/005-7/trainer.txt
index f59d5971e..6f595b89b 100644
--- a/npc/005-7/trainer.txt
+++ b/npc/005-7/trainer.txt
@@ -310,6 +310,13 @@ L_Menu_gap:
mes "";
goto L_PreMenu;
+OnKillMaggot:
+OnKillManaBug:
+OnKillCandorScorpion:
+OnKillScorpion:
+ message strcharinfo(0), "You monster!";
+ end;
+
OnInit:
.@npcId = getnpcid(0, .name$);
setunitdata(.@npcId, UDT_HEADMIDDLE, 1314);