summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/re/item_db.conf6
-rw-r--r--npc/commands/rate-management.txt6
-rw-r--r--npc/functions/seasons.txt6
3 files changed, 7 insertions, 11 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index ad9dcbcce..cd85724f5 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -13460,7 +13460,6 @@ item_db: (
bonus bMaxSP,10;
bonus bSPrecovRate,11;
bonus bDef,-32767;
- bonus bDef2,-32767;
">
},
{
@@ -13500,7 +13499,6 @@ item_db: (
bonus bSPrecovRate,12;
bonus bMaxHPrate, -8;
bonus bDef,-32767;
- bonus bDef2,-32767;
">
},
{
@@ -13540,7 +13538,6 @@ item_db: (
bonus bSPrecovRate,13;
bonus bMaxHPrate, -12;
bonus bDef,-32767;
- bonus bDef2,-32767;
">
},
{
@@ -13580,7 +13577,6 @@ item_db: (
bonus bSPrecovRate,14;
bonus bMaxHPrate, -16;
bonus bDef,-32767;
- bonus bDef2,-32767;
">
},
{
@@ -13620,7 +13616,6 @@ item_db: (
bonus bSPrecovRate,15;
bonus bMaxHPrate, -20;
bonus bDef,-32767;
- bonus bDef2,-32767;
">
},
{
@@ -13660,7 +13655,6 @@ item_db: (
bonus bSPrecovRate,15;
bonus bMaxHPrate, -5;
bonus bDef,-32767;
- bonus bDef2,-32767;
">
},
diff --git a/npc/commands/rate-management.txt b/npc/commands/rate-management.txt
index 492f045a6..cff24adeb 100644
--- a/npc/commands/rate-management.txt
+++ b/npc/commands/rate-management.txt
@@ -291,6 +291,7 @@ OnInit:
//.original_job_rate = getbattleflag("base_job_rate");
//.original_pk_mode = getbattleflag("pk_mode");
//.original_death_penalty = getbattleflag("death_penalty_type");
+ //force_refreshall();
end;
OnReload:
@@ -308,10 +309,5 @@ OnReload:
charcommand("@reloadmobdb");
SeasonReload(1);
debugmes("Drop rates were reloaded with success.");
- .@c = getunits(BL_PC, .@players, 20);
- for (.@i = 0; .@i < .@c; .@i++) {
- atcommand("#refresh "+strcharinfo(0, "", .@players[.@i]));
- }
end;
-
}
diff --git a/npc/functions/seasons.txt b/npc/functions/seasons.txt
index 50aa99c24..d10204596 100644
--- a/npc/functions/seasons.txt
+++ b/npc/functions/seasons.txt
@@ -196,6 +196,7 @@ function script SeasonReload {
sValentine();
$@SEASON=season();
+ initnpctimer("#SeasonCore");
return;
}
@@ -551,4 +552,9 @@ OnHour00:
SeasonReload();
}
end;
+
+OnTimer700:
+ charcommand("@refreshall");
+ stopnpctimer;
+ end;
}