Skip to content

Commit

Permalink
Updated Horror Toy Factory with new Mob_Skill_DB Scheme.
Browse files Browse the repository at this point in the history
Just Use raw data from HerculesWS#1539 and updated setpcblock() script command with work from Kenpachi2k13 to use it now.

ToDO:
- Fix setunitdata() to work correctly
- Add Skill IDs 716 and 719
  • Loading branch information
Zarbony committed Mar 31, 2020
1 parent ab81d40 commit b2a1d99
Show file tree
Hide file tree
Showing 9 changed files with 4,351 additions and 20 deletions.
9 changes: 9 additions & 0 deletions db/quest_db.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10946,6 +10946,15 @@ quest_db: (
Id: 12322
Name: "Space Distortion"
},
{
Id: 12330
Name: "Skull-faced Girl"
},
{
Id: 12331
Name: "Trail of Toy Factory"
TimeLimit: 82800
},
{
Id: 12363
Name: "?????? ?? ??"
Expand Down
258 changes: 258 additions & 0 deletions db/re/item_db.conf
Original file line number Diff line number Diff line change
Expand Up @@ -41178,6 +41178,71 @@ item_db: (
bonus bMatkRate,7;
">
},
{
Id: 2976
AegisName: "Red_Lantern"
Name: "Red Lantern"
Type: 5
Weight: 200
Slots: 1
Loc: 136
EquipLv: 100
Script: <"
bonus bMaxSP, -300;
skill MG_SIGHT, 1;
bonus2 bAddMonsterDropItem, Alchol, 100;
bonus2 bAddMonsterDropItem, Detrimindexta, 100;
bonus2 bAddMonsterDropItem, Karvodailnirol, 100;
">
OnUnequipScript: <" sc_end SC_SIGHT; ">
},
{
Id: 2977
AegisName: "Hurt_Mind"
Name: "Broken Heart"
Type: 5
Weight: 100
Slots: 1
Loc: 136
EquipLv: 110
Script: <"
bonus bMaxSP, 200;
skill DC_SCREAM, 3;
">
},
{
Id: 2978
AegisName: "KindHeart"
Name: "Gentle Heart"
Type: 5
Weight: 100
Slots: 1
Loc: 136
EquipLv: 110
Script: <"
bonus bMaxHP, 500;
bonus2 bHPRegenRate, 300, 10000;
">
},
{
Id: 2980
AegisName: "Evilspirit_Gloves"
Name: "Evilspirit Gloves"
Type: 5
Weight: 100
Slots: 1
Loc: 136
EquipLv: 110
Script: <"
bonus bMaxSP, 200;
bonus bMaxHP, 500;
skill PF_SPIDERWEB, 1;
bonus4 bAutoSpell, WZ_FROSTNOVA, 10, 25, 0;
bonus4 bAutoSpell, SO_PSYCHIC_WAVE, 10, 15, 1;
bonus5 bAutoSpell, HW_MAGICPOWER, 1, 15, BF_MAGIC, 0;
bonus5 bAutoSpellWhenHit, DC_SCREAM, 1, 50, BF_WEAPON | BF_MAGIC, 0;
">
},
{
Id: 2981
AegisName: "RingOfHero"
Expand Down Expand Up @@ -74495,6 +74560,13 @@ item_db: (
Name: "Cash Hair Coupon"
Weight: 10
},
{
Id: 6683
AegisName: "Dried_Flower"
Name: "Dried Flower"
Weight: 10
BuyingStore: true
},
{
Id: 6712
AegisName: "Lovely_Stick"
Expand Down Expand Up @@ -80149,6 +80221,27 @@ item_db: (
Name: "Bloody Coin"
Buy: 10
},
{
Id: 7642
AegisName: "Bloody_Coin"
Name: "Bloody Coin"
BuyingStore: true
},
{
Id: 7643
AegisName: "Bloody_Letter"
Name: "Bloody Letter"
Buy: 220
Weight: 10
BuyingStore: true
},
{
Id: 7644
AegisName: "Draft_Letter"
Name: "Draft Letter"
Buy: 560
BuyingStore: true
},
{
Id: 7646
AegisName: "RO_Luk_Bookmark"
Expand Down Expand Up @@ -85221,6 +85314,24 @@ item_db: (
Weight: 100
Script: <" itemheal rand(325,405),0; ">
},
{
Id: 11563
AegisName: "Hot_Tee"
Name: "Hot Tea"
Type: 0
Weight: 20
BuyingStore: true
Script: <" itemheal 0, rand(80, 100); ">
},
{
Id: 11564
AegisName: "Sweet_Canape"
Name: "Sweet Pastry"
Type: 0
Weight: 20
BuyingStore: true
Script: <" itemheal rand(800, 1000), 0; ">
},
{
Id: 11592
AegisName: "Trance_Candy_R"
Expand Down Expand Up @@ -126057,6 +126168,32 @@ item_db: (
">
OnUnequipScript: <" heal -1000,0; ">
},
{
Id: 16029
AegisName: "Noble_Cross"
Name: "Noble Cross"
Type: 4
Weight: 1500
Atk: 195
Matk: 150
Range: 1
Job: {
Acolyte: true
Priest: true
Monk: true
}
Upper: 58
Loc: 2
WeaponLv: 4
EquipLv: 40
View: 8
Script: <"
bonus bAtkEle, Ele_Holy;
bonus3 bAutoSpell, PR_TURNUNDEAD, 6, 100;
bonus2 bSPDrainValueRace, RC_Undead, 1;
bonus2 bSPGainRace, RC_Undead, 12;
">
},
{
Id: 16030
AegisName: "Pilebuncker_S"
Expand Down Expand Up @@ -147896,6 +148033,29 @@ item_db: (
// getrandgroupitem(IG_PrizeOfHero, 1);
">
},
{
Id: 22516
AegisName: "Dark_Red_Clot"
Name: "Dark Red Lump"
Type: 2
Buy: 1440
Weight: 10
BuyingStore: true
Script: <"
if (rand(1000) < 300)
sc_start SC_CURSE, 30000, 0, 3000, SCFLAG_NONE;
">
},
{
Id: 22534
AegisName: "Closedmind_Box"
Name: "Sealed Mind Box"
Type: 2
Buy: 1000
Weight: 1000
BuyingStore: true
Script: <" packageitem(); ">
},
{
Id: 22540
AegisName: "Runstone_Lux"
Expand Down Expand Up @@ -154226,6 +154386,104 @@ item_db: (
AegisName: "Shinee_Opal"
Name: "Shinee_Opal"
},
{
Id: 31016
AegisName: "Decorated_Evil_Tree_Card"
Name: "Decorated Tree Matilda Card"
Type: 6
Weight: 10
Loc: 16
Script: <"
bonus bMaxHP, 1000;
bonus bMaxSP, 150;
bonus bFlee, -25;
">
},
{
Id: 31017
AegisName: "Brutal_Tattered_Cookie_Card"
Name: "Terrifying Cookie Card"
Type: 6
Weight: 10
Loc: 64
Script: <"
bonus2 bAddRace, RC_All, 1 + getrefine() / 2;
bonus bMatkRate, 1 + getrefine() / 2;
bonus bMaxHPrate, -2 - (getrefine() / 2) * 2;
">
},
{
Id: 31018
AegisName: "Evil_Enchanted_Box_Card"
Name: "Gift of Darkness Card"
Type: 6
Weight: 10
Loc: 2
Script: <"
bonus bMaxHP, -1225;
bonus3 bAddEff, Eff_Curse, 1000, ATF_MAGIC;
">
},
{
Id: 31019
AegisName: "Eerie_Spirit_Card"
Name: "Eerie Spirit Card"
Type: 6
Weight: 10
Loc: 136
Script: <"
bonus bMaxHPrate, -13;
bonus5 bAutoSpellWhenHit, NPC_WIDECURSE, 5, 100, BF_MAGIC, 0;
">
},
{
Id: 31020
AegisName: "Evil_Chill_Ghost_Card"
Name: "Bloody Poltergeist Card"
Type: 6
Weight: 10
Loc: 136
Script: <"
bonus bMaxHPrate, -13;
bonus5 bAutoSpellWhenHit, NPC_WIDECURSE, 5, 100, BF_WEAPON, 0;
">
},
{
Id: 31021
AegisName: "Dancing_Marionette_Card"
Name: "Demonic Marionette Card"
Type: 6
Weight: 10
Loc: 2
Script: <"
bonus bAspdRate, 10;
bonus2 bAddRace, RC_All, -3;
">
},
{
Id: 31022
AegisName: "Dumped_Teddy_Bear_Card"
Name: "Dumped Teddy Bear Card"
Type: 6
Weight: 10
Loc: 64
Script: <"
bonus bMaxSPrate, 20;
bonus2 bAddEff2, Eff_Curse, 100;
">
},
{
Id: 31023
AegisName: "Celine_Kimi_Card"
Name: "Celine Kimi Card"
Type: 6
Weight: 10
Loc: 2
Script: <"
bonus bMatkRate, 10;
bonus5 bAutoSpell, NPC_CRITICALWOUND, 3, 50 + 5 * (getrefine() / 3), BF_MAGIC, 1;
">
},
{
Id: 31172
AegisName: "Roast_Memory"
Expand Down
62 changes: 62 additions & 0 deletions db/re/item_packages.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12869,3 +12869,65 @@ Malang_Woe_Encard_Box: {
Random: 0
}
}
Closedmind_Box: {
Crystal_Jewel__: {
Random: 1
Count: 10
Rate: 1
}
Violet_Jewel: {
Random: 1
Count: 10
Rate: 1
}
Bloody_Coin: {
Random: 1
Count: 5
Rate: 1
}
Gold: {
Random: 1
Count: 2
Rate: 1
}
Manacles: {
Random: 1
Count: 10
Rate: 1
}
Old_Card_Album: {
Random: 1
Count: 1
Rate: 1
}
Old_Violet_Box: {
Random: 1
Count: 3
Rate: 1
}
Sweet_Canape: {
Random: 1
Count: 5
Rate: 1
}
Hot_Tee: {
Random: 1
Count: 5
Rate: 1
}
KindHeart: {
Random: 1
Count: 1
Rate: 1
}
Hurt_Mind: {
Random: 1
Count: 1
Rate: 1
}
Lush_Rose: {
Random: 1
Count: 1
Rate: 1
}
}
Loading

0 comments on commit b2a1d99

Please sign in to comment.