summaryrefslogtreecommitdiff
path: root/npc/042-0
diff options
context:
space:
mode:
Diffstat (limited to 'npc/042-0')
-rw-r--r--npc/042-0/arthur.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/npc/042-0/arthur.txt b/npc/042-0/arthur.txt
index 075a7fa51..18b067beb 100644
--- a/npc/042-0/arthur.txt
+++ b/npc/042-0/arthur.txt
@@ -308,7 +308,15 @@ L_Hint:
message .@gm$, strcharinfo(0)+" cleared Guinevere: Guild GP +"+.@ggp+" Guild XP +"+.@gxp;
close;
+OnKillMob:
+ if (!playerattached()) end;
+ .@g=getcharid(2);
+ if (.@g < 1) percentheal -100, -100;
+ getexp $KAMELOT_MX[.@g]*2, $KAMELOT_MX[.@g];
+ end;
+
function guinevereSpawn {
+ .@label$=instance_npcname(.name$)+"::OnKillMob";
.@gcount=getarg(0);
.@g=getcharid(2);
if (.@g < 1) percentheal -100, -100;