summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorJedzkie <jedzkie13@rocketmail.com>2015-12-23 14:41:23 +0800
committerJedzkie <jedzkie13@rocketmail.com>2015-12-23 14:41:23 +0800
commitc0afd048169aa9d66c739ac548df05ed498a0a34 (patch)
tree309e6f105e32f23be4f46652b6a98c95064ff338 /db
parent5954bf53cac41cac2fd1eb3bb3d91783f0f9644e (diff)
downloadhercules-c0afd048169aa9d66c739ac548df05ed498a0a34.tar.gz
hercules-c0afd048169aa9d66c739ac548df05ed498a0a34.tar.bz2
hercules-c0afd048169aa9d66c739ac548df05ed498a0a34.tar.xz
hercules-c0afd048169aa9d66c739ac548df05ed498a0a34.zip
Item Update:
- Fix typo MOBID_GUARIDAN to MOBID_GUARDIAN - Added official item effect for Magic Candy.
Diffstat (limited to 'db')
-rw-r--r--db/const.txt1
-rw-r--r--db/re/item_db.conf15
-rw-r--r--db/sc_config.txt2
3 files changed, 13 insertions, 5 deletions
diff --git a/db/const.txt b/db/const.txt
index 4837b3898..a77a612bf 100644
--- a/db/const.txt
+++ b/db/const.txt
@@ -1345,6 +1345,7 @@ SC_BUCHEDENOEL 634
SC_PHI_DEMON 635
SC_PROMOTE_HEALTH_RESERCH 636
SC_ENERGY_DRINK_RESERCH 637
+SC_MAGIC_CANDY 638
e_gasp 0
e_what 1
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index c63e71bc5..b85203710 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -84462,18 +84462,23 @@ item_db: (
Id: 12596
AegisName: "Magic_Candy"
Name: "Magic Candy"
- Type: 11
+ Type: 2
Buy: 0
Weight: 10
+ Delay: 180000
Trade: {
nodrop: true
notrade: true
noselltonpc: true
nocart: true
- nogstorage: true
nomail: true
noauction: true
+ nogstorage: true
}
+ Script: <"
+ specialeffect2 EF_HASTEUP;
+ sc_start2 SC_MAGIC_CANDY, 60000, 30, 70;
+ ">
},
{
Id: 12597
@@ -116556,17 +116561,19 @@ item_db: (
Id: 16666
AegisName: "Magic_Candy_Box10"
Name: "Magic Candy Box(10)"
- Type: 2
+ Type: 18
Buy: 20
+ Weight: 10
Trade: {
nodrop: true
notrade: true
noselltonpc: true
nocart: true
- nogstorage: true
nomail: true
noauction: true
+ nogstorage: true
}
+ Script: <" getitem Magic_Candy, 10; ">
},
{
Id: 16673
diff --git a/db/sc_config.txt b/db/sc_config.txt
index a521dd8ed..afc75b8e5 100644
--- a/db/sc_config.txt
+++ b/db/sc_config.txt
@@ -399,7 +399,7 @@ SC_LIGHT_OF_REGENE, 1
//SC_CBC, 2
//SC_CBC_POSTDELAY, 2
//SC_EQC, 2
-//SC_MAGIC_CANDY, 92
+SC_MAGIC_CANDY, 92
//SC_ALL_RIDING_REUSE_LIMIT, 1
//SC_HANDICAPSTATE_DEEP_SLEEP, 80
SC_MONSTER_TRANSFORM, 12