summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-24 23:54:33 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-24 23:54:33 -0300
commit0e815bf70a0ab74416b15c2384b935c1da0db271 (patch)
tree332b01dd4b0471fbeef48d5f9051819e91c8e67f /db
parent9c76064b28f0aecbdc4d9955225a5c40c55fa02b (diff)
downloadserverdata-0e815bf70a0ab74416b15c2384b935c1da0db271.tar.gz
serverdata-0e815bf70a0ab74416b15c2384b935c1da0db271.tar.bz2
serverdata-0e815bf70a0ab74416b15c2384b935c1da0db271.tar.xz
serverdata-0e815bf70a0ab74416b15c2384b935c1da0db271.zip
Alchemy Blueprints
Diffstat (limited to 'db')
-rw-r--r--db/constants.conf7
-rw-r--r--db/re/item_db.conf105
2 files changed, 112 insertions, 0 deletions
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
{