diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-06-01 00:16:05 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-06-01 00:16:05 -0300 |
commit | 1eea738108f1b4db302d69908413f7b13916fb61 (patch) | |
tree | 4fba1c924da1dff3b961398d719aac9acd8bafd2 /db | |
parent | d50d2cf473f3218cff0fc110c44c55ab459268e1 (diff) | |
download | serverdata-1eea738108f1b4db302d69908413f7b13916fb61.tar.gz serverdata-1eea738108f1b4db302d69908413f7b13916fb61.tar.bz2 serverdata-1eea738108f1b4db302d69908413f7b13916fb61.tar.xz serverdata-1eea738108f1b4db302d69908413f7b13916fb61.zip |
Equipment Blueprints
Diffstat (limited to 'db')
-rw-r--r-- | db/re/item_db.conf | 129 |
1 files changed, 129 insertions, 0 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf index 890c80974..c4f7b8b18 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -12451,6 +12451,135 @@ item_db: ( "> }, +{ + Id: 7460 + AegisName: "EquipmentBlueprintA" + Name: "Equipment Blueprint A" + Type: "IT_USABLE" + Buy: 0 + Sell: 0 + Weight: 40 + Script: <" + if (!countitem(RecipeBook)) { + getitem EquipmentBlueprintA, 1; + dispbottom l("You need a @@ to use this.", getitemlink(RecipeBook)); + end; + } + .@seed=rand(0, 10000)-BaseLevel-readparam(bLuk); + + if (.@seed < 100) + callfunc("MakeBlueprint", CRAFT_EQUIPMENT, CRAFT_INTERMEDIARY); + else if (.@seed < 2000) + callfunc("MakeBlueprint", CRAFT_EQUIPMENT, CRAFT_BASIC | CRAFT_INTERMEDIARY); + else + callfunc("MakeBlueprint", CRAFT_EQUIPMENT, CRAFT_BASIC); + "> +}, +{ + Id: 7461 + AegisName: "EquipmentBlueprintB" + Name: "Equipment Blueprint B" + Type: "IT_USABLE" + Buy: 0 + Sell: 0 + Weight: 40 + Script: <" + if (!countitem(RecipeBook)) { + getitem EquipmentBlueprintB, 1; + dispbottom l("You need a @@ to use this.", getitemlink(RecipeBook)); + end; + } + .@seed=rand(0, 10000)-BaseLevel-readparam(bLuk); + + // 1% to above, 19% to above + current, 10% to below + current. + if (.@seed < 100) + callfunc("MakeBlueprint", CRAFT_EQUIPMENT, CRAFT_ADVANCED); + else if (.@seed < 2000) + callfunc("MakeBlueprint", CRAFT_EQUIPMENT, CRAFT_INTERMEDIARY | CRAFT_ADVANCED); + else if (.@seed < 3000) + callfunc("MakeBlueprint", CRAFT_EQUIPMENT, CRAFT_BASIC | CRAFT_INTERMEDIARY); + else + callfunc("MakeBlueprint", CRAFT_EQUIPMENT, CRAFT_INTERMEDIARY); + "> +}, +{ + Id: 7462 + AegisName: "EquipmentBlueprintC" + Name: "Equipment Blueprint C" + Type: "IT_USABLE" + Buy: 0 + Sell: 0 + Weight: 40 + Script: <" + if (!countitem(RecipeBook)) { + getitem EquipmentBlueprintC, 1; + dispbottom l("You need a @@ to use this.", getitemlink(RecipeBook)); + end; + } + .@seed=rand(0, 10000)-BaseLevel-readparam(bLuk); + + // 1% to above, 19% to above + current, 10% to below + current. + if (.@seed < 100) + callfunc("MakeBlueprint", CRAFT_EQUIPMENT, CRAFT_EXPERT); + else if (.@seed < 2000) + callfunc("MakeBlueprint", CRAFT_EQUIPMENT, CRAFT_ADVANCED | CRAFT_EXPERT); + else if (.@seed < 3000) + callfunc("MakeBlueprint", CRAFT_EQUIPMENT, CRAFT_INTERMEDIARY | CRAFT_ADVANCED); + else + callfunc("MakeBlueprint", CRAFT_EQUIPMENT, CRAFT_ADVANCED); + "> +}, +{ + Id: 7463 + AegisName: "EquipmentBlueprintD" + Name: "Equipment Blueprint D" + Type: "IT_USABLE" + Buy: 0 + Sell: 0 + Weight: 40 + Script: <" + if (!countitem(RecipeBook)) { + getitem EquipmentBlueprintD, 1; + dispbottom l("You need a @@ to use this.", getitemlink(RecipeBook)); + end; + } + .@seed=rand(0, 10000)-BaseLevel-readparam(bLuk); + + // 1% to above, 19% to above + current, 10% to below + current. + if (.@seed < 100) + callfunc("MakeBlueprint", CRAFT_EQUIPMENT, CRAFT_MASTER); + else if (.@seed < 2000) + callfunc("MakeBlueprint", CRAFT_EQUIPMENT, CRAFT_EXPERT | CRAFT_MASTER); + else if (.@seed < 3000) + callfunc("MakeBlueprint", CRAFT_EQUIPMENT, CRAFT_ADVANCED | CRAFT_EXPERT); + else + callfunc("MakeBlueprint", CRAFT_EQUIPMENT, CRAFT_EXPERT); + "> +}, +{ + Id: 7464 + AegisName: "EquipmentBlueprintE" + Name: "Equipment Blueprint E" + Type: "IT_USABLE" + Buy: 0 + Sell: 0 + Weight: 40 + Script: <" + if (!countitem(RecipeBook)) { + getitem EquipmentBlueprintE, 1; + dispbottom l("You need a @@ to use this.", getitemlink(RecipeBook)); + end; + } + .@seed=rand(0, 10000)-BaseLevel-readparam(bLuk); + + // 30% to below + current. + if (.@seed < 3000) + callfunc("MakeBlueprint", CRAFT_EQUIPMENT, CRAFT_MASTER | CRAFT_EXPERT); + else + callfunc("MakeBlueprint", CRAFT_EQUIPMENT, CRAFT_MASTER); + "> +}, + // Mercenary boxsets and cards { |