summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-07 11:36:03 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-07 11:36:03 -0300
commit2eefb20d2b5745915040ecc79e09ea254c8151dd (patch)
tree73fe948fa5196c3ec6276e49d7227c4d5e65bff8
parente5f06227b45c0e929a0c99667adf00190f19aa21 (diff)
downloadserverdata-2eefb20d2b5745915040ecc79e09ea254c8151dd.tar.gz
serverdata-2eefb20d2b5745915040ecc79e09ea254c8151dd.tar.bz2
serverdata-2eefb20d2b5745915040ecc79e09ea254c8151dd.tar.xz
serverdata-2eefb20d2b5745915040ecc79e09ea254c8151dd.zip
Oh well, the fallback failed, but thankfully I add a new fallback recently.
-rw-r--r--db/re/item_db.conf8
-rw-r--r--npc/functions/siege.txt6
2 files changed, 7 insertions, 7 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index 61dd7c64c..bf18d9094 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -5342,7 +5342,7 @@ item_db: (
Weight: 40
Refine: false
},
-// <!-- ID 900~910 Reserved -->
+// <!-- ID 900~910 Reserved -->
// <!-- Necklaces -->
{
Id: 1000
@@ -11172,7 +11172,11 @@ item_db: (
bonus bNoKnockback,1;
bonus bBaseAtk,-700;
- // Skills for Aegis Shield, all at maximum level
+ // Skills for Aegis Shield, all beyond maximum level
+ // Cave Maggot, Maggot, Green Dragon, Slimes, Snakes
+ // TODO: Wolverns, Lizards, (Black)Scorpions, Fairies,
+ // TODO: Yeti (sometimes Moggun), Moonshroom, Terranite
+ // TODO: Black Mamba, Centaur, <todo>
skill TMW2_ZARKOR, 7;
skill TMW2_KALMURK, 10;
skill TMW2_DRAGOKIN, 5;
diff --git a/npc/functions/siege.txt b/npc/functions/siege.txt
index 18de9a15b..ae83dc5c7 100644
--- a/npc/functions/siege.txt
+++ b/npc/functions/siege.txt
@@ -27,10 +27,6 @@ function script siege_calcdiff {
.@c = getunits(BL_PC, .@players, false, getarg(0));
.@skip=0;
- // Fallback: No players on map, always return 0
- if (.@c == 0)
- return 0;
-
// There is at least one player, do things properly
for (.@i = 0; .@i < .@c; .@i++) {
/*
@@ -50,7 +46,7 @@ function script siege_calcdiff {
.@highest=.@b;
}
- // Sanitize
+ // Sanitize and fallback if needed
.@c-=.@skip;
if (!.@c)
.@c=1;