diff options
Diffstat (limited to 'npc/042-2')
-rw-r--r-- | npc/042-2/door.txt | 5 |
1 files changed, 4 insertions, 1 deletions
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$); |