summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-10-17 09:25:37 -0300
committerJesusaves <cpntb1@ymail.com>2019-10-17 09:25:37 -0300
commitc0c0af5e4a24a841676319e5a8017e7f9775be5c (patch)
tree483099d0f22a2d9fdf411c3feb203714d329262c
parent3b9d39c1ffadd07b8b64f0cc60f14e642ecd88eb (diff)
downloadserverdata-r10.2_191017.tar.gz
serverdata-r10.2_191017.tar.bz2
serverdata-r10.2_191017.tar.xz
serverdata-r10.2_191017.zip
-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;
}