diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-04-28 14:38:09 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-04-28 14:38:09 -0300 |
commit | b5bba4b5245db67bb3250b8abaf00e24697f7105 (patch) | |
tree | 7b6ab89c8e2e2aef5e68e6321e0fa3e2d7bfc72c | |
parent | c9ffeba0df480e472a053f29a374b6a56b1a50a7 (diff) | |
download | serverdata-b5bba4b5245db67bb3250b8abaf00e24697f7105.tar.gz serverdata-b5bba4b5245db67bb3250b8abaf00e24697f7105.tar.bz2 serverdata-b5bba4b5245db67bb3250b8abaf00e24697f7105.tar.xz serverdata-b5bba4b5245db67bb3250b8abaf00e24697f7105.zip |
042-2 Boss GP now varies based on difficulty setting
-rw-r--r-- | npc/042-2/door.txt | 7 |
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; + + } |