summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/re/item_db.conf29
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"