summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-04-28 17:17:11 -0300
committerJesusaves <cpntb1@ymail.com>2020-04-28 17:17:11 -0300
commita8acd77deb114e5f151971fa6eeca4271d813f35 (patch)
tree2891ce99d5577a78eca50bcd6e920d2f2c287515
parent7d7a0e015d77e2fd018f4d63241dd1008783f46f (diff)
downloadserverdata-a8acd77deb114e5f151971fa6eeca4271d813f35.tar.gz
serverdata-a8acd77deb114e5f151971fa6eeca4271d813f35.tar.bz2
serverdata-a8acd77deb114e5f151971fa6eeca4271d813f35.tar.xz
serverdata-a8acd77deb114e5f151971fa6eeca4271d813f35.zip
Guinevere monsters also give some EXP, but less
-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;