summaryrefslogtreecommitdiff
path: root/npc/042-2/door.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/042-2/door.txt')
-rw-r--r--npc/042-2/door.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/npc/042-2/door.txt b/npc/042-2/door.txt
index f04d4ef3f..86dd9da6c 100644
--- a/npc/042-2/door.txt
+++ b/npc/042-2/door.txt
@@ -24,8 +24,9 @@ OnKillBoss:
$KAMELOT_KEYMASK[.@g]=$KAMELOT_KEYMASK[.@g]|16;
// Reward for completing this stage
getitem GuildCoin, min(1, $KAMELOT_MX[.@g]/20);
- $GUILD_BANK[.@g]+=500;
+ .@ggp=300+$KAMELOT_MX[.@g]*4;
.@gxp=$KAMELOT_MX[.@g]*5;
+ $GUILD_BANK[.@g]+=500;
guildgetexp(.@gxp); // 5xp per player average level (max 500/750)
// Announce
mapannounce getmap(), strcharinfo(0)+" has found the key for the door!", 0;
@@ -35,7 +36,9 @@ OnKillBoss:
.@gma=getcharid(3, .@gm$);
.@gmb=getcharid(0, .@gm$);
if (!isloggedin(.@gma, .@gmb)) end;
- message .@gm$, strcharinfo(0)+" found the key: Guild GP +500 Guild XP +"+.@gxp;
+ message .@gm$, strcharinfo(0)+" found the key: Guild GP +"+.@ggp+" Guild XP +"+.@gxp;
end;
+
+
}