diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-01-19 23:26:47 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-01-19 23:26:47 -0300 |
commit | 67cad3e5c11261cb6af6890701afb462b192dadc (patch) | |
tree | cadb66931037f5990325679834a59343da3a9996 /npc/functions/siege.txt | |
parent | e8cc3fd631485a7274f165abb69405c6e488a126 (diff) | |
download | serverdata-67cad3e5c11261cb6af6890701afb462b192dadc.tar.gz serverdata-67cad3e5c11261cb6af6890701afb462b192dadc.tar.bz2 serverdata-67cad3e5c11261cb6af6890701afb462b192dadc.tar.xz serverdata-67cad3e5c11261cb6af6890701afb462b192dadc.zip |
Favor for kamibroadcast()
Diffstat (limited to 'npc/functions/siege.txt')
-rw-r--r-- | npc/functions/siege.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/npc/functions/siege.txt b/npc/functions/siege.txt index 35b681102..1b34d02d3 100644 --- a/npc/functions/siege.txt +++ b/npc/functions/siege.txt @@ -356,7 +356,7 @@ function script do_siege { detachrid(); } - // No one is active, cancel the event + // No one is active, cancel the event (FIXME) if (!.@idle) { kamibroadcast(col(b("EVENT CANCELLED DUE TO PLAYER INACTIVITY"),1)); $@MK_AGGRO=$@MK_AGGRO/5; // Lower aggro bar to 20% @@ -494,10 +494,11 @@ OnCaptainDeath: end; OnColonelDeath: - if ($GAME_STORYLINE == 2) + if ($GAME_STORYLINE == 2) { $MK_TEMPVAR+=7; + $MOST_HEROIC$=strcharinfo(0); + } getitem StrangeCoin, rand2(15,20); - $MOST_HEROIC$=strcharinfo(0); announce("##2The Monster Colonel was defeated by "+strcharinfo(0)+"!", bc_all); $@EXP_EVENT=rand2(10, 12); $@EXP_EVENT_TIME=1; |