From c9ffeba0df480e472a053f29a374b6a56b1a50a7 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 28 Apr 2020 14:10:22 -0300 Subject: Ops --- npc/042-2/door.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'npc/042-2') diff --git a/npc/042-2/door.txt b/npc/042-2/door.txt index d663a063b..f04d4ef3f 100644 --- a/npc/042-2/door.txt +++ b/npc/042-2/door.txt @@ -22,11 +22,14 @@ OnKillBoss: dispbottom l("You found a key."); getitem TreasureKey, 1; $KAMELOT_KEYMASK[.@g]=$KAMELOT_KEYMASK[.@g]|16; - getitem GuildCoin, 1; // Reward for completing this stage + // Reward for completing this stage + getitem GuildCoin, min(1, $KAMELOT_MX[.@g]/20); $GUILD_BANK[.@g]+=500; .@gxp=$KAMELOT_MX[.@g]*5; guildgetexp(.@gxp); // 5xp per player average level (max 500/750) + // Announce mapannounce getmap(), strcharinfo(0)+" has found the key for the door!", 0; + // Guild Master Notification .@gm$=getguildmaster(.@g); if (!getcharid(3, .@gm$)) end; .@gma=getcharid(3, .@gm$); -- cgit v1.2.3-60-g2f50