diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-05-26 22:12:10 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-05-26 22:12:10 -0300 |
commit | 7a3d24118810a2a6227aad4ae80f0759393a4ab7 (patch) | |
tree | 1e8de44d3649c7813d13e569b69819c6bedb3314 /npc/functions | |
parent | ef90857f03d21e69bd20845ec665bb513d6686aa (diff) | |
download | serverdata-7a3d24118810a2a6227aad4ae80f0759393a4ab7.tar.gz serverdata-7a3d24118810a2a6227aad4ae80f0759393a4ab7.tar.bz2 serverdata-7a3d24118810a2a6227aad4ae80f0759393a4ab7.tar.xz serverdata-7a3d24118810a2a6227aad4ae80f0759393a4ab7.zip |
Be more generous when player fails
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/siege.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/siege.txt b/npc/functions/siege.txt index 9f7ebd191..307274712 100644 --- a/npc/functions/siege.txt +++ b/npc/functions/siege.txt @@ -183,7 +183,7 @@ function script siege_check { $MK_TEMPVAR-=1; kamibroadcast("Players failed to defend the city!!"); debugmes "Number of boss grade monsters found: %d", .@mb; - $SIEGE_DIFFICULTY-=1; + $SIEGE_DIFFICULTY=max(1, ($SIEGE_DIFFICULTY/2)); } else { $SIEGE_DIFFICULTY+=1; } |