diff options
author | Fedja Beader <fedja@protonmail.ch> | 2024-06-12 19:43:57 +0200 |
---|---|---|
committer | Jesusalva Jesusalva <jesusalva@tmw2.org> | 2024-06-12 20:04:22 +0000 |
commit | 22d77da4c45421a8d080b92d6a88a7525f628cfb (patch) | |
tree | ccb47d05edb7a9d100d560007eee89617ea64af9 | |
parent | 46c8bae3273d0bc245eb9398525a9a7de8ab59e4 (diff) | |
download | serverdata-22d77da4c45421a8d080b92d6a88a7525f628cfb.tar.gz serverdata-22d77da4c45421a8d080b92d6a88a7525f628cfb.tar.bz2 serverdata-22d77da4c45421a8d080b92d6a88a7525f628cfb.tar.xz serverdata-22d77da4c45421a8d080b92d6a88a7525f628cfb.zip |
Don't tell party leader that they gave the runestone to party leader.
-rw-r--r-- | npc/014-2-2/valia.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/npc/014-2-2/valia.txt b/npc/014-2-2/valia.txt index 8009b1ab4..8c4a677fc 100644 --- a/npc/014-2-2/valia.txt +++ b/npc/014-2-2/valia.txt @@ -32,8 +32,12 @@ function script GeminiKill { if (killedrid == GreenSlime) { if (!rand2(40) || $@GM_OVERRIDE) { getexp 8132, 657; - dispbottom l("You found the Runestone! You gave it to the party leader."); $@VALIA_STATUS[.@p] = 3; + + if (strcharinfo(0) != getpartyleader(getcharid(1))) + dispbottom l("You found the Runestone! You gave it to the party leader."); + else + dispbottom l("You found the Runestone!"); } } break; |