Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Horror Toy Factory Instance implementation based on official conversion. #1539

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -41122,6 +41122,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 @@ -74426,6 +74491,13 @@ item_db: (
noauction: true
}
},
{
Id: 6683
AegisName: "Dried_Flower"
Name: "Dried Flower"
Weight: 10
BuyingStore: true
},
{
Id: 6712
AegisName: "Lovely_Stick"
Expand Down Expand Up @@ -80069,6 +80141,27 @@ item_db: (
Name: "Red Box"
Weight: 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 @@ -84931,6 +85024,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 @@ -125501,6 +125612,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 @@ -146807,6 +146944,29 @@ item_db: (
Buy: 10
Weight: 300
},
{
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 @@ -151569,4 +151729,102 @@ item_db: (
Loc: 1023
Script: <" bonus2 bExpAddRace, RC_All, 2; ">
},
{
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;
">
},
)
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