diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-12-15 19:47:06 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-12-15 19:47:06 -0200 |
commit | 243ae3566107b56c7d530bfac7db5d44b1f2d5b8 (patch) | |
tree | 29596f5151a7104cfa310d717e31f4155a720bdf /db/re/item_db.conf | |
parent | f6e6280e1c977210622829c64016b0f5d0b93aca (diff) | |
download | serverdata-243ae3566107b56c7d530bfac7db5d44b1f2d5b8.tar.gz serverdata-243ae3566107b56c7d530bfac7db5d44b1f2d5b8.tar.bz2 serverdata-243ae3566107b56c7d530bfac7db5d44b1f2d5b8.tar.xz serverdata-243ae3566107b56c7d530bfac7db5d44b1f2d5b8.zip |
Christmasbox
Diffstat (limited to 'db/re/item_db.conf')
-rw-r--r-- | db/re/item_db.conf | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf index d6f66749c..88f71fa36 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -2477,6 +2477,35 @@ item_db: ( doevent "rand_sc_heal::OnUse"; "> }, +// 626-629 missing +{ + Id: 630 + AegisName: "XmasGift" + Name: "Christmas Gift" + Type: "IT_USABLE" + Buy: 0 + Sell: 0 + Weight: 25 + KeepAfterUse: false + Refine: false + Trade: { + noselltonpc: true + } + Script: <" + setarray .@r, SantaGlobe, SnowmanGlobe, UglyChristmasSweater, TneckSweater, MercBoxA, MercBoxA, MercBoxB, ElixirOfLife, NoviceWand, LeadOre, DarkDesertMushroom; + setarray .@c, BronzeGift, IcedBottle, TneckSweater, MercBoxA, MercBoxA, ClothoLiquor, Dagger, Dagger, HastePotion, HerbalTea, StrengthPotion, TrainingWand; + // 27% rare chance only + if (rand(0,100) < 27) { + .@n=rand(getarraysize(.@r)); + getitem .@r[.@n], 1; + } else { + .@n=rand(getarraysize(.@c)); + getitem .@c[.@n], 1; + } + "> +}, + +// Mounts { Id: 699 AegisName: "LegendaryTortuga" |