From 0e815bf70a0ab74416b15c2384b935c1da0db271 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 24 May 2019 23:54:33 -0300 Subject: Alchemy Blueprints --- db/constants.conf | 7 ++++ db/re/item_db.conf | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 112 insertions(+) (limited to 'db') diff --git a/db/constants.conf b/db/constants.conf index c988fa40a..00bf0248d 100644 --- a/db/constants.conf +++ b/db/constants.conf @@ -4245,6 +4245,13 @@ constants_db: { CRAFT_PLAYER: 8 CRAFT_GUILD: 16 + comment__: "CRAFT Rarity enum" + CRAFT_BASIC: 1 + CRAFT_INTERMEDIARY: 2 + CRAFT_ADVANCED: 4 + CRAFT_EXPERT: 8 + CRAFT_MASTER: 16 + comment__: "Easter eggs enum" EE_NONE: 0 EE_SAXSO: 1 diff --git a/db/re/item_db.conf b/db/re/item_db.conf index deadde7c3..db6d53496 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -12228,6 +12228,111 @@ item_db: ( } "> }, +// Other Gacha +{ + Id: 7450 + AegisName: "AlchemyBlueprintA" + Name: "Alchemy Blueprint A" + Type: "IT_USABLE" + Buy: 0 + Sell: 0 + Weight: 40 + Script: <" + .@seed=rand(0, 10000)-BaseLevel-readparam(bLuk); + + if (.@seed < 100) + callfunc("MakeBlueprint", CRAFT_ALCHEMY, CRAFT_INTERMEDIARY); + else if (.@seed < 2000) + callfunc("MakeBlueprint", CRAFT_ALCHEMY, CRAFT_BASIC | CRAFT_INTERMEDIARY); + else + callfunc("MakeBlueprint", CRAFT_ALCHEMY, CRAFT_BASIC); + "> +}, +{ + Id: 7451 + AegisName: "AlchemyBlueprintB" + Name: "Alchemy Blueprint B" + Type: "IT_USABLE" + Buy: 0 + Sell: 0 + Weight: 40 + Script: <" + .@seed=rand(0, 10000)-BaseLevel-readparam(bLuk); + + // 1% to above, 19% to above + current, 10% to below + current. + if (.@seed < 100) + callfunc("MakeBlueprint", CRAFT_ALCHEMY, CRAFT_ADVANCED); + else if (.@seed < 2000) + callfunc("MakeBlueprint", CRAFT_ALCHEMY, CRAFT_INTERMEDIARY | CRAFT_ADVANCED); + else if (.@seed < 3000) + callfunc("MakeBlueprint", CRAFT_ALCHEMY, CRAFT_BASIC | CRAFT_INTERMEDIARY); + else + callfunc("MakeBlueprint", CRAFT_ALCHEMY, CRAFT_INTERMEDIARY); + "> +}, +{ + Id: 7452 + AegisName: "AlchemyBlueprintC" + Name: "Alchemy Blueprint C" + Type: "IT_USABLE" + Buy: 0 + Sell: 0 + Weight: 40 + Script: <" + .@seed=rand(0, 10000)-BaseLevel-readparam(bLuk); + + // 1% to above, 19% to above + current, 10% to below + current. + if (.@seed < 100) + callfunc("MakeBlueprint", CRAFT_ALCHEMY, CRAFT_EXPERT); + else if (.@seed < 2000) + callfunc("MakeBlueprint", CRAFT_ALCHEMY, CRAFT_ADVANCED | CRAFT_EXPERT); + else if (.@seed < 3000) + callfunc("MakeBlueprint", CRAFT_ALCHEMY, CRAFT_INTERMEDIARY | CRAFT_ADVANCED); + else + callfunc("MakeBlueprint", CRAFT_ALCHEMY, CRAFT_ADVANCED); + "> +}, +{ + Id: 7453 + AegisName: "AlchemyBlueprintD" + Name: "Alchemy Blueprint D" + Type: "IT_USABLE" + Buy: 0 + Sell: 0 + Weight: 40 + Script: <" + .@seed=rand(0, 10000)-BaseLevel-readparam(bLuk); + + // 1% to above, 19% to above + current, 10% to below + current. + if (.@seed < 100) + callfunc("MakeBlueprint", CRAFT_ALCHEMY, CRAFT_MASTER); + else if (.@seed < 2000) + callfunc("MakeBlueprint", CRAFT_ALCHEMY, CRAFT_EXPERT | CRAFT_MASTER); + else if (.@seed < 3000) + callfunc("MakeBlueprint", CRAFT_ALCHEMY, CRAFT_ADVANCED | CRAFT_EXPERT); + else + callfunc("MakeBlueprint", CRAFT_ALCHEMY, CRAFT_EXPERT); + "> +}, +{ + Id: 7454 + AegisName: "AlchemyBlueprintE" + Name: "Alchemy Blueprint E" + Type: "IT_USABLE" + Buy: 0 + Sell: 0 + Weight: 40 + Script: <" + .@seed=rand(0, 10000)-BaseLevel-readparam(bLuk); + + // 30% to below + current. + if (.@seed < 3000) + callfunc("MakeBlueprint", CRAFT_ALCHEMY, CRAFT_MASTER | CRAFT_EXPERT); + else + callfunc("MakeBlueprint", CRAFT_ALCHEMY, CRAFT_MASTER); + "> +}, + // Mercenary boxsets and cards { -- cgit v1.2.3-60-g2f50