summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFedja Beader <fedja@protonmail.ch>2024-06-24 11:18:29 +0200
committerFedja Beader <fedja@protonmail.ch>2024-06-24 11:18:29 +0200
commit1eaf36b30765246a9c640f34bd3ffbe276456a25 (patch)
treeb799b47e107c463561dae4630854394fb8c842ce
parent6c4bacf32e3fb6593adf9ba73d5623e68a098f1e (diff)
downloadserverdata-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.txt12
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;