summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-01-17 14:44:10 -0300
committerJesusaves <cpntb1@ymail.com>2020-01-17 14:44:10 -0300
commit5442d1583f825dc210dca408b47f661147e4854c (patch)
tree690423fe4fdcb396daf0e899653f35053953e6be
parentf8cff7efd8fa628787d218e0af883e6094d6b48c (diff)
downloadserverdata-5442d1583f825dc210dca408b47f661147e4854c.tar.gz
serverdata-5442d1583f825dc210dca408b47f661147e4854c.tar.bz2
serverdata-5442d1583f825dc210dca408b47f661147e4854c.tar.xz
serverdata-5442d1583f825dc210dca408b47f661147e4854c.zip
Move Blanket from generic to armor
-rw-r--r--db/re/item_db.conf37
-rw-r--r--npc/003-3/malindou.txt10
2 files changed, 34 insertions, 13 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index e30238fb9..aa5077ed6 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -3896,16 +3896,7 @@ item_db: (
Weight: 10
Refine: false
},
-{
- Id: 748
- AegisName: "Blanket"
- Name: "Blanket"
- Type: "IT_ETC"
- Buy: 50
- Sell: 10
- Weight: 10
- Refine: false
-},
+// Id 748 is free
{
Id: 749
AegisName: "Bone"
@@ -5951,11 +5942,31 @@ item_db: (
bonus bMatk,10;
">
},
-// 1166 is free
{
Id: 1166
- AegisName: "Item1166"
- Name: "Item 1166"
+ AegisName: "Blanket"
+ Name: "Blanket"
+ Type: "IT_ARMOR"
+ Buy: 7000
+ Sell: 1800
+ Weight: 45
+ Def: 0
+ Loc: "EQP_ACC_L"
+ EquipLv: 52
+ Refine: false
+ Script: <"
+ addtoskill(TMW2_SPEECH, 1, 2);
+ bonus bHitRate, -10;
+ bonus bFleeRate, -10;
+ ">
+ OnUnequipScript: <"
+ dispbottom "A deep slumber falls over you.";
+ @min = 1;
+ @max = 1;
+ @delay = 30;
+ @type = SC_SLEEP;
+ doevent "inc_sc_bonus::OnUse";
+ ">
},
{
Id: 1167
diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt
index d5ebffd8e..78f57c2c7 100644
--- a/npc/003-3/malindou.txt
+++ b/npc/003-3/malindou.txt
@@ -463,6 +463,16 @@ OnInit:
debugmes "* Political System Base";
debugmes "";
}
+ // Current UPDATE value: Sex Jan 17 14:42:37 BRT 2020
+ // Remove Junk
+ if ($UPDATE < 1579282957) {
+ DelItemFromEveryPlayer(748);
+ DelItemFromEveryPlayer(1166);
+ $UPDATE=1579282957;
+ debugmes "";
+ debugmes "* Blanket fix";
+ debugmes "";
+ }