diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-12-15 15:02:57 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-12-15 15:02:57 -0200 |
commit | 3e888c93efaf2129a14fe95a78f786e853f74116 (patch) | |
tree | 20e73764f5c8a234a474e4b43eac6fd4907fccbd /db/re | |
parent | 8cb113eef7f76d40af7e728db6278a874a6e549d (diff) | |
download | serverdata-3e888c93efaf2129a14fe95a78f786e853f74116.tar.gz serverdata-3e888c93efaf2129a14fe95a78f786e853f74116.tar.bz2 serverdata-3e888c93efaf2129a14fe95a78f786e853f74116.tar.xz serverdata-3e888c93efaf2129a14fe95a78f786e853f74116.zip |
Mercenary Boxes and Cards.
As requested, you can “forsake” a rare box with, say, an APANE CARD! :o
Diffstat (limited to 'db/re')
-rw-r--r-- | db/re/item_db.conf | 376 |
1 files changed, 376 insertions, 0 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf index 696789382..5b797519b 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -10867,5 +10867,381 @@ item_db: ( } "> }, + +// Mercenary boxsets and cards +{ + Id: 7500 + AegisName: "MercBoxA" + Name: "Mercenary Boxset A" + Type: "IT_USABLE" + Buy: 0 + Sell: 0 + Weight: 85 + KeepAfterUse: false + Refine: false + Trade: { + nodrop: true + noselltonpc: true + nogstorage: true + nomail: true + noauction: true + } + Script: <" + .@seed=rand(0, 10000); + + // 0.5% + if (.@seed < 50) { + setarray .@r, MercCard_AndreiSakar, MercCard_DragonStar; + .@n=rand(getarraysize(.@r)); + // 2.0% + } else if (.@seed < 250) { + setarray .@r, MercCard_Aisen, MercCard_Msawis, MercCard_Swezanne; + .@n=rand(getarraysize(.@r)); + } + // 10.0% + } else if (.@seed < 1250) { + setarray .@r, MercCard_Saulc, MercCard_Crazyfefe, MercCard_LawnCable; + .@n=rand(getarraysize(.@r)); + } + // 25.0% + } else if (.@seed < 3750) { + setarray .@r, MercCard_Pookie, MercCard_Jesusalva, MercCard_Demure; + .@n=rand(getarraysize(.@r)); + } + // 62.5% + } else { + setarray .@r, MercCard_Apane, MercCard_Soren, MercCard_GonzoDark, MercCard_GonzoDark; + .@n=rand(getarraysize(.@r)); + } + + getitem .@r[.@n], 1; + "> +}, +{ + Id: 7501 + AegisName: "MercBoxB" + Name: "Mercenary Boxset B" + Type: "IT_USABLE" + Buy: 0 + Sell: 0 + Weight: 115 + KeepAfterUse: false + Refine: false + Trade: { + nodrop: true + noselltonpc: true + nogstorage: true + nomail: true + noauction: true + } + Script: <" + .@seed=rand(0, 10000); + + // 1.0% + if (.@seed < 100) { + setarray .@r, MercCard_AndreiSakar, MercCard_DragonStar; + .@n=rand(getarraysize(.@r)); + // 5.0% + } else if (.@seed < 600) { + setarray .@r, MercCard_Aisen, MercCard_Msawis, MercCard_Swezanne; + .@n=rand(getarraysize(.@r)); + } + // 20.0% + } else if (.@seed < 2100) { + setarray .@r, MercCard_Saulc, MercCard_Crazyfefe, MercCard_LawnCable; + .@n=rand(getarraysize(.@r)); + } + // 35.0% + } else if (.@seed < 5600) { + setarray .@r, MercCard_Pookie, MercCard_Jesusalva, MercCard_Demure; + .@n=rand(getarraysize(.@r)); + } + // 44.0% + } else { + setarray .@r, MercCard_Apane, MercCard_Soren, MercCard_GonzoDark, MercCard_GonzoDark; + .@n=rand(getarraysize(.@r)); + } + + getitem .@r[.@n], 1; + "> +}, +{ + Id: 7502 + AegisName: "MercBoxC" + Name: "Mercenary Boxset C" + Type: "IT_USABLE" + Buy: 0 + Sell: 0 + Weight: 135 + KeepAfterUse: false + Refine: false + Trade: { + nodrop: true + noselltonpc: true + nogstorage: true + nomail: true + noauction: true + } + Script: <" + .@seed=rand(0, 10000); + + // 2.0% + if (.@seed < 200) { + setarray .@r, MercCard_AndreiSakar, MercCard_DragonStar; + .@n=rand(getarraysize(.@r)); + // 10.0% + } else if (.@seed < 1200) { + setarray .@r, MercCard_Aisen, MercCard_Msawis, MercCard_Swezanne; + .@n=rand(getarraysize(.@r)); + } + // 30.0% + } else if (.@seed < 4200) { + setarray .@r, MercCard_Saulc, MercCard_Crazyfefe, MercCard_LawnCable; + .@n=rand(getarraysize(.@r)); + } + // 50.0% + } else if (.@seed < 9200) { + setarray .@r, MercCard_Pookie, MercCard_Jesusalva, MercCard_Demure; + .@n=rand(getarraysize(.@r)); + } + // 8.0% + } else { + setarray .@r, MercCard_Apane, MercCard_Soren, MercCard_GonzoDark, MercCard_GonzoDark; + .@n=rand(getarraysize(.@r)); + } + + getitem .@r[.@n], 1; + "> +}, + +{ + Id: 7510 + AegisName: "MercCard_AndreiSakar" + Name: "Andrei Sakar Card" + Type: "IT_USABLE" + Buy: 70000 + Sell: 3500 + Weight: 5 + Refine: false + ViewSprite: 7510 + Delay: 500 + UseEffect: 23 // TODO FIXME: We should add to db/constants.conf instead of using numbers + Script: <" + mercenary_create 1192, 300000; + "> +}, +{ + Id: 7511 + AegisName: "MercCard_DragonStar" + Name: "Dragon Star Card" + Type: "IT_USABLE" + Buy: 70000 + Sell: 3500 + Weight: 5 + Refine: false + ViewSprite: 7511 + Delay: 500 + UseEffect: 23 // TODO FIXME: We should add to db/constants.conf instead of using numbers + Script: <" + mercenary_create 1193, 300000; + "> +}, + +{ + Id: 7530 + AegisName: "MercCard_Aisen" + Name: "Aisen Card" + Type: "IT_USABLE" + Buy: 60000 + Sell: 3000 + Weight: 5 + Refine: false + ViewSprite: 7530 + Delay: 500 + UseEffect: 23 // TODO FIXME: We should add to db/constants.conf instead of using numbers + Script: <" + mercenary_create 1194, 300000; + "> +}, +{ + Id: 7531 + AegisName: "MercCard_Msawis" + Name: "Msawis Card" + Type: "IT_USABLE" + Buy: 60000 + Sell: 3000 + Weight: 5 + Refine: false + ViewSprite: 7531 + Delay: 500 + UseEffect: 23 // TODO FIXME: We should add to db/constants.conf instead of using numbers + Script: <" + mercenary_create 1195, 300000; + "> +}, +{ + Id: 7532 + AegisName: "MercCard_Swezanne" + Name: "Swezanne Card" + Type: "IT_USABLE" + Buy: 60000 + Sell: 3000 + Weight: 5 + Refine: false + ViewSprite: 7532 + Delay: 500 + UseEffect: 23 // TODO FIXME: We should add to db/constants.conf instead of using numbers + Script: <" + mercenary_create 1205, 300000; + "> +}, + +{ + Id: 7550 + AegisName: "MercCard_Saulc" + Name: "Saulc Card" + Type: "IT_USABLE" + Buy: 50000 + Sell: 2500 + Weight: 5 + Refine: false + ViewSprite: 7550 + Delay: 500 + UseEffect: 23 // TODO FIXME: We should add to db/constants.conf instead of using numbers + Script: <" + mercenary_create 1196, 300000; + "> +}, +{ + Id: 7551 + AegisName: "MercCard_Crazyfefe" + Name: "Crazyfefe Card" + Type: "IT_USABLE" + Buy: 50000 + Sell: 2500 + Weight: 5 + Refine: false + ViewSprite: 7551 + Delay: 500 + UseEffect: 23 // TODO FIXME: We should add to db/constants.conf instead of using numbers + Script: <" + mercenary_create 1197, 300000; + "> +}, +{ + Id: 7552 + AegisName: "MercCard_LawnCable" + Name: "Lawn Cable Card" + Type: "IT_USABLE" + Buy: 50000 + Sell: 2500 + Weight: 5 + Refine: false + ViewSprite: 7552 + Delay: 500 + UseEffect: 23 // TODO FIXME: We should add to db/constants.conf instead of using numbers + Script: <" + mercenary_create 1198, 300000; + "> +}, + +{ + Id: 7570 + AegisName: "MercCard_Pookie" + Name: "Pookie Card" + Type: "IT_USABLE" + Buy: 40000 + Sell: 2000 + Weight: 5 + Refine: false + ViewSprite: 7570 + Delay: 500 + UseEffect: 23 // TODO FIXME: We should add to db/constants.conf instead of using numbers + Script: <" + mercenary_create 1200, 300000; + "> +}, +{ + Id: 7571 + AegisName: "MercCard_Jesusalva" + Name: "Jesusalva Card" + Type: "IT_USABLE" + Buy: 40000 + Sell: 2000 + Weight: 5 + Refine: false + ViewSprite: 7571 + Delay: 500 + UseEffect: 23 // TODO FIXME: We should add to db/constants.conf instead of using numbers + Script: <" + mercenary_create 1201, 300000; + "> +}, +{ + Id: 7572 + AegisName: "MercCard_Demure" + Name: "Demure Card" + Type: "IT_USABLE" + Buy: 40000 + Sell: 2000 + Weight: 5 + Refine: false + ViewSprite: 7572 + Delay: 500 + UseEffect: 23 // TODO FIXME: We should add to db/constants.conf instead of using numbers + Script: <" + mercenary_create 1199, 300000; + "> +}, + +{ + Id: 7590 + AegisName: "MercCard_Apane" + Name: "Apane Card" + Type: "IT_USABLE" + Buy: 30000 + Sell: 1500 + Weight: 5 + Refine: false + ViewSprite: 7590 + Delay: 500 + UseEffect: 23 // TODO FIXME: We should add to db/constants.conf instead of using numbers + Script: <" + mercenary_create 1203, 300000; + "> +}, +{ + Id: 7591 + AegisName: "MercCard_Soren" + Name: "Soren Card" + Type: "IT_USABLE" + Buy: 30000 + Sell: 1500 + Weight: 5 + Refine: false + ViewSprite: 7591 + Delay: 500 + UseEffect: 23 // TODO FIXME: We should add to db/constants.conf instead of using numbers + Script: <" + mercenary_create 1204, 300000; + "> +}, +{ + Id: 7592 + AegisName: "MercCard_GonzoDark" + Name: "Gonzo Dark Card" + Type: "IT_USABLE" + Buy: 30000 + Sell: 1500 + Weight: 5 + Refine: false + ViewSprite: 7590 + Delay: 500 + UseEffect: 23 // TODO FIXME: We should add to db/constants.conf instead of using numbers + Script: <" + mercenary_create 1202, 300000; + "> +}, + ) |