summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;