diff options
author | Fedja Beader <fedja@protonmail.ch> | 2024-06-24 11:18:29 +0200 |
---|---|---|
committer | Jesusalva Jesusalva <jesusalva@tmw2.org> | 2024-07-01 23:33:59 +0000 |
commit | 6222d1cd87985d68e362ad19abde8b0ffdbd0f17 (patch) | |
tree | 42456b415e67b512876bfff7c535755faf006f6c | |
parent | 396ffcbe75ebe04098200f5b9644f27a8909d038 (diff) | |
download | serverdata-siege_rewards.tar.gz serverdata-siege_rewards.tar.bz2 serverdata-siege_rewards.tar.xz serverdata-siege_rewards.zip |
Transfer siege participation rewards (StrangeCoins) from boss to pawns.siege_rewards
When sieges happened, a lot of us did not bother fighting spawns and
just waited for the boss to appear, as most of the reward was with the boss.
Note: boss still has to be whacked for the siege to be won, so perhaps
it should not give any separate rewards at all?
-rw-r--r-- | npc/functions/siege.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/functions/siege.txt b/npc/functions/siege.txt index 380c49d80..b6d77f510 100644 --- a/npc/functions/siege.txt +++ b/npc/functions/siege.txt @@ -504,7 +504,7 @@ function script do_siege { OnRespawn: if (playerattached()) { getmapxy(.@m$,.@x,.@y,0); - if (rand(10000) <= $coinsrate) + if (rand(10000) <= 2 * $coinsrate) makeitem StrangeCoin, 1, .@m$, .@x, .@y; } end; @@ -513,7 +513,7 @@ OnRespawn: OnSergeantDeath: if ($GAME_STORYLINE == 2) $MK_TEMPVAR+=1; - getitem StrangeCoin, rand2(1,5); + getitem StrangeCoin, 1; announce("##2The Monster Sergeant was defeated by "+strcharinfo(0)+"!", bc_all); $@EXP_EVENT=rand2(1, 3); $@EXP_EVENT_TIME=1; @@ -524,7 +524,7 @@ OnSergeantDeath: OnLieutenantDeath: if ($GAME_STORYLINE == 2) $MK_TEMPVAR+=3; - getitem StrangeCoin, rand2(5,10); + getitem StrangeCoin, rand2(1, 2); announce("##2The Monster Lieutenant was defeated by "+strcharinfo(0)+"!", bc_all); $@EXP_EVENT=rand2(4, 6); $@EXP_EVENT_TIME=1; @@ -535,7 +535,7 @@ OnLieutenantDeath: OnCaptainDeath: if ($GAME_STORYLINE == 2) $MK_TEMPVAR+=5; - getitem StrangeCoin, rand2(10,15); + getitem StrangeCoin, rand2(1, 3); announce("##2The Monster Captain was defeated by "+strcharinfo(0)+"!", bc_all); $@EXP_EVENT=rand2(7, 9); $@EXP_EVENT_TIME=1; @@ -546,7 +546,7 @@ OnCaptainDeath: OnColonelDeath: if ($GAME_STORYLINE == 2) $MK_TEMPVAR+=7; - getitem StrangeCoin, rand2(15,20); + getitem StrangeCoin, rand2(1, 4); announce("##2The Monster Colonel was defeated by "+strcharinfo(0)+"!", bc_all); $@EXP_EVENT=rand2(10, 12); $@EXP_EVENT_TIME=1; @@ -557,7 +557,7 @@ OnColonelDeath: OnGeneralDeath: if ($GAME_STORYLINE == 2) $MK_TEMPVAR+=9; - getitem StrangeCoin, rand2(20,25); + getitem StrangeCoin, rand2(1, 5); announce("##2The Monster General was defeated by "+strcharinfo(0)+"!", bc_all); $@EXP_EVENT=rand2(13, 15); $@EXP_EVENT_TIME=1; |