Why it happens?
I Need help to know: Why my Quest Chest don't die and give me the Loot?
https://imgur.com/a/Qv4Ein1
https://imgur.com/gallery/iRe7uPk
XML dat1
Note: I checked all this itens names, and have in my pserver
- - - Updated - - -
Please @Luverdark @Nyaro close this Help Request, i solved!, the problem was in "Snakeskin Armor" and "Snakeskin Shield" and others...
https://imgur.com/a/Qv4Ein1
https://imgur.com/gallery/iRe7uPk
XML dat1
Code:
<Object type="0x4dd1" id="Quest Chest Loot">
<Class>Character</Class>
<Enemy/>
<Texture>
<File>lofiObj6</File>
<Index>0x108</Index>
</Texture>
<MaxHitPoints>2500</MaxHitPoints>
<Defense>0</Defense>
<Size>100</Size>
<XpMult>10000</XpMult>
<StasisImmune/>
<DisplayId>Quest Chest Loot</DisplayId>
</Object>
<Object type="0x4dd2" id="Epic Quest Chest Loot">
<Class>Character</Class>
<Enemy/>
<Texture>
<File>lofiObj6</File>
<Index>0x109</Index>
</Texture>
<MaxHitPoints>45000</MaxHitPoints>
<Defense>35</Defense>
<Size>100</Size>
<XpMult>30000</XpMult>
<StasisImmune/>
<DisplayId>Epic Quest Chest Loot</DisplayId>
</Object>
<Object type="0x4de1" id="Quest Chest">
<Class>Equipment</Class>
<Item/>
<Texture>
<File>lofiObj6</File>
<Index>0x108</Index>
</Texture>
<SlotType>10</SlotType>
<Description>An old looking chest from the Tinkerer's vault. It contains valuable items.</Description>
<Sound>use_key</Sound>
<Consumable/>
<Soulbound/>
<Activate objectId="Quest Chest Loot">Pet</Activate>
<feedPower>200</feedPower>
<DisplayId>Quest Chest</DisplayId>
</Object>
<Object type="0x4de2" id="Epic Quest Chest">
<Class>Equipment</Class>
<Item/>
<Texture>
<File>lofiObj6</File>
<Index>0x109</Index>
</Texture>
<SlotType>10</SlotType>
<Description>A rich looking chest from the Tinkerer’s vault. It contains wonderful items.</Description>
<Sound>use_key</Sound>
<Consumable/>
<Soulbound/>
<Activate objectId="Epic Quest Chest Loot">Pet</Activate>
<feedPower>200</feedPower>
<DisplayId>Epic Quest Chest</DisplayId>
</Object>
Behavior
Code:
using wServer.logic.behaviors;
using wServer.logic.transitions;
using wServer.logic.loot;
namespace wServer.logic
{
partial class BehaviorDb
{
private _ QuestChests = () => Behav()
.Init("Quest Chest Loot",
new State(
),
new FameLoot(120, 120),
new GoldLoot(15, 15),
new Threshold(0.01,
new ItemLoot("Potion of Attack", 1),
new ItemLoot("Potion of Defense", 1),
new ItemLoot("Potion of Speed", 1),
new ItemLoot("Potion of Dexterity", 1),
new ItemLoot("Potion of Vitality", 1),
new ItemLoot("Potion of Wisdom", 1),
new TierLoot(10, ItemType.Weapon, 0.05),
new TierLoot(4, ItemType.Ability, 0.05),
new TierLoot(11, ItemType.Armor, 0.05),
new TierLoot(4, ItemType.Ring, 0.05),
new ItemLoot("Snakeskin Armor", 0.01),
new ItemLoot("Snakeskin Shield", 0.01),
new ItemLoot("Experimental Ring", 0.01),
new ItemLoot("Snake Eye Ring", 0.01),
new ItemLoot("St. Abraham's Wand", 0.01),
new ItemLoot("Chasuble of Holy Light", 0.01),
new ItemLoot("Ring of Divine Faith", 0.01),
new ItemLoot("Sprite Wand", 0.01),
new ItemLoot("Amulet of Resurrection", 0.01),
new ItemLoot("Jester Skin", 0.01),
new ItemLoot("Slurp Knight Skin", 0.01),
new ItemLoot("Puppet Master Skin", 0.01),
new ItemLoot("Wine Cellar Incantation", 0.06),
new ItemLoot("Etherite Dagger", 0.01),
new ItemLoot("Ghastly Drape", 0.01),
new ItemLoot("Mantle of Skuld", 0.01),
new ItemLoot("Spectral Ring of Horrors", 0.01),
new ItemLoot("Large Jester Argyle Cloth", 0.01),
new ItemLoot("Small Jester Argyle Cloth", 0.01),
//new ItemLoot("Grotesque Scepter", 0.01), Comming Soon...
new ItemLoot("Wand of the Bulwark", 0.01),
new ItemLoot("Staff of Extreme Prejudice", 0.01),
new ItemLoot("Cloak of the Planewalker", 0.01),
new ItemLoot("Demon Blade", 0.01),
new ItemLoot("Doom Bow", 0.01),
//new ItemLoot("Void Blade", 0.01), Comming Soon...
//new ItemLoot("Murky Toxin", 0.01), Comming Soon...
new ItemLoot("Conducting Wand", 0.01),
new ItemLoot("Robe of the Mad Scientist", 0.01),
new ItemLoot("Scepter of Fulmination", 0.01),
new ItemLoot("Harlequin Armor", 0.01),
new ItemLoot("Prism of Dancing Swords", 0.01),
new ItemLoot("Plague Poison", 0.01),
new ItemLoot("Resurrected Warrior's Armor", 0.01),
new ItemLoot("Tome of Purification", 0.01)
)
)
.Init("Epic Quest Chest Loot",
new State(
),
new FameLoot(120, 120),
new GoldLoot(15, 15),
new Threshold(0.01,
new ItemLoot("Potion of Life", 1),
new ItemLoot("Potion of Mana", 1),
new ItemLoot("Potion of Attack", 1),
new ItemLoot("Potion of Defense", 1),
new ItemLoot("Potion of Speed", 1),
new ItemLoot("Potion of Dexterity", 1),
new ItemLoot("Potion of Vitality", 1),
new ItemLoot("Potion of Wisdom", 1),
new TierLoot(11, ItemType.Weapon, 0.05),
new TierLoot(5, ItemType.Ability, 0.05),
new TierLoot(12, ItemType.Armor, 0.05),
new TierLoot(5, ItemType.Ring, 0.05),
new ItemLoot("Coral Silk Armor", 0.01),
new ItemLoot("Coral Ring", 0.01),
//new ItemLoot("Red Beehemoth Armor", 0.01), Comming Soon...
//new ItemLoot("Yellow Beehemoth Armor", 0.01), Comming Soon...
//new ItemLoot("Blue Beehemoth Armor", 0.01), Comming Soon...
new ItemLoot("Spectral Cloth Armor", 0.01),
new ItemLoot("Captain's Ring", 0.01),
new ItemLoot("Greater Potion of Dexterity", 0.01),
//new ItemLoot("Abomination's Wrath", 0.01), Comming Soon...
//new ItemLoot("Garment of the Beast", 0.01), Comming Soon...
new ItemLoot("Scepter of Geb", 0.01),
new ItemLoot("Book of Geb", 0.01),
new ItemLoot("Shendyt of Geb", 0.01),
new ItemLoot("Geb's Ring of Wisdom", 0.01),
new ItemLoot("Indomptable", 0.06),
new ItemLoot("Helm of Draconic Dominance", 0.01),
new ItemLoot("Zaarvox's Heart", 0.01),
new ItemLoot("Amulet of Drakefyre", 0.01),
//new ItemLoot("Nectar Crossfire", 0.01), Comming Soon...
//new ItemLoot("Honeytomb Snare", 0.01), Comming Soon...
//new ItemLoot("Apiary Armor", 0.01), Comming Soon...
//new ItemLoot("Honey Circlet", 0.01), Comming Soon...
new ItemLoot("Sentient Staff", 0.01),
new ItemLoot("Ancient Spell: Pierce", 0.01),
new ItemLoot("The Robe of Twilight", 0.01),
new ItemLoot("The Forgotten Ring", 0.01),
new ItemLoot("Wine Cellar Incantation", 1),
new ItemLoot("Large Midnight Dragon Scale Cloth", 0.01),
new ItemLoot("Small Midnight Dragon Scale Cloth", 0.01),
new ItemLoot("Large Red Dragon Scale Cloth ", 0.01),
new ItemLoot("Small Red Dragon Scale Cloth ", 0.01),
new ItemLoot("Large Green Dragon Scale Cloth", 0.01),
new ItemLoot("Small Green Dragon Scale Cloth", 0.01),
new ItemLoot("Large Blue Dragon Scale Cloth", 0.01),
new ItemLoot("Small Blue Dragon Scale Cloth", 0.01),
new ItemLoot("Large Ivory Dragon Scale Cloth", 0.01),
new ItemLoot("Small Ivory Dragon Scale Cloth", 0.01),
new ItemLoot("Mini Geb Skin", 0.01),
new ItemLoot("Mini Nut Archer Skin", 0.01),
new ItemLoot("Coral Bow", 0.01),
new ItemLoot("Coral Venom Trap", 0.01),
new ItemLoot("Ring of the Pyramid", 0.01),
new ItemLoot("Ring of the Sphinx", 0.01),
new ItemLoot("Ring of the Nile", 0.01),
new ItemLoot("Tome of Holy Protection", 0.01),
//new ItemLoot("Orb of Aether", 0.01), Comming Soon...
//new ItemLoot("Wand of the Fallen", 0.01), Comming Soon...
new ItemLoot("Spirit Dagger", 0.01),
new ItemLoot("Ghostly Prism", 0.01),
new ItemLoot("Celestial Blade", 0.01),
new ItemLoot("Fire Dragon Battle Armor", 0.01),
new ItemLoot("Water Dragon Silk Robe", 0.01),
new ItemLoot("Leaf Dragon Hide Armor", 0.01),
new ItemLoot("Midnight Star", 0.01),
new ItemLoot("Doku no Ken", 0.01),
new ItemLoot("Pirate King's Cutlass", 0.01),
new ItemLoot("Leaf Bow", 0.01),
new ItemLoot("Staff of Esben", 0.01),
new ItemLoot("Skullish Remains of Esben", 0.01),
//new ItemLoot("Queen's Stinger Dagger", 0.01), Comming Soon...
//new ItemLoot("Hivemaster Helm", 0.01),
//new ItemLoot("Spiteful Scutum", 0.01), Comming Soon...
new ItemLoot("Skull of Endless Torment", 0.01),
new ItemLoot("Thousand Shot", 0.01),
new ItemLoot("Prism of Dire Instability", 0.01),
new ItemLoot("Ancient Stone Sword", 0.01),
new ItemLoot("Bracer of the Guardian", 0.01),
new ItemLoot("The Twilight Gemstone", 0.01),
new ItemLoot("The Forgotten Crown", 0.01)
));
}
}
- - - Updated - - -
Please @Luverdark @Nyaro close this Help Request, i solved!, the problem was in "Snakeskin Armor" and "Snakeskin Shield" and others...