Allods Developers Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Solved How do I modify these golens to start drop itens?

How do I modify these golens to start drop itens?

Creatures\GolemJunes\Instances\ArchipelagoGipatsShard\GolemJunes_Pyramid.(MobWorld).xdb

Allods_190328_194210.jpg
 
  • Creatures\GolemJunes\Instances\ArchipelagoGipatsShard\GolemJunes_Pyramid.(MobWorld).xdb
Code:
<?xml version="1.0" encoding="UTF-8" ?>
<gameMechanics.world.mob.MobWorld>
    <Header>
        <resourceId>176579588</resourceId>
    </Header>
    <name href="GolemJunes_Pyramid_Name.txt" />
    <visMob href="/Creatures/GolemJunes/GolemJunes.(VisualMob).xdb#xpointer(/VisualMob)" />
    <kind href="/Mechanics/Creatures/GolemJunes/GolemJunesNOEXP_Kind.(MobKind).xdb#xpointer(/gameMechanics.world.mob.MobKind)" />
    <walkSpeed>2</walkSpeed>
    <faction href="/World/Factions/Neutral.xdb#xpointer(/gameMechanics.world.creature.Faction)" />
    <personalLootTable>
        <Item>
            <conditions>
                <Item type="gameMechanics.elements.predicates.PredicateIsRuleActive">
                    <rule href="/Mechanics/Rules/Maze_KHD/Door_Open/Rule.(RuleResource).xdb#xpointer(/gameMechanics.world.rules.RuleResource)" />
                </Item>
            </conditions>
            <item href="/Items/QuestItems/ArchipelagoGipatsShard/Tablet/Tablet.(ItemResource).xdb#xpointer(/gameMechanics.constructor.schemes.item.ItemResource)" />
            <chance>1</chance>
            <number>
                <min>1</min>
                <max>1</max>
            </number>
            <isForAll>false</isForAll>
        </Item>
    </personalLootTable>
    <quality href="/Mechanics/MobQualities/Miniboss.xdb#xpointer(/gameMechanics.world.mob.MobQuality)" />
    <lootDropModifier type="gameMechanics.world.mob.GeneralLoot">
        <dropsWorldLoot>false</dropsWorldLoot>
        <dropsZoneLoot>false</dropsZoneLoot>
    </lootDropModifier>
    <levelMin type="gameMechanics.formulas.IntConstantValue">
    <value>45</value>
    </levelMin>
    <levelMax type="gameMechanics.formulas.IntConstantValue">
    <value>45</value>
    </levelMax>
</gameMechanics.world.mob.MobWorld>

How do I modify these golens to start drop itens?

  • remove part of the code:
Code:
   <lootDropModifier type="gameMechanics.world.mob.GeneralLoot">

        <dropsWorldLoot>false</dropsWorldLoot>

        <dropsZoneLoot>false</dropsZoneLoot>

    </lootDropModifier>

  • as an option - you can spy on another golem: /Creatures/GolemJunes/Instances/Maze_KHD/GolemJunes_Orange.(MobWorld).xdb
Code:
<?xml version="1.0" encoding="UTF-8" ?>
    <personalLootTable>
        <Item>
            <conditions>
                <Item type="gameMechanics.elements.predicates.PredicateInZone">
                    <zone href="/Maps/Maze_KHD/Zones/Maze_KHD/Maze_KHD.(ZoneResource).xdb#xpointer(/gameMechanics.map.zone.ZoneResource)" />
                </Item>
            </conditions>
            <item href="/Items/Mechanics/Maze_KHD/TinCase.(ItemResource).xdb#xpointer(/gameMechanics.constructor.schemes.item.ItemResource)" />
            <chance>1</chance>
            <number>
                <min>1</min>
                <max>1</max>
            </number>
            <isForAll>false</isForAll>
        </Item>
    </personalLootTable>

  • or instead of a <personalLootTable>...</personalLootTable> insert this line:
Code:
    <lootTable href="/Items/HeroicInstancesReward/Tier4/LootTables/LootTable_Extra1_BossFinal_Armor.(LootTableResource).xdb#xpointer(/gameMechanics.constructor.schemes.item.LootTableResource)" />

or any other <lootTable> list
  • example:
Code:
<?xml version="1.0" encoding="UTF-8" ?>

<gameMechanics.world.mob.MobWorld>

    <Header>

        <resourceId>176579588</resourceId>

    </Header>

    <name href="GolemJunes_Pyramid_Name.txt" />

    <visMob href="/Creatures/GolemJunes/GolemJunes.(VisualMob).xdb#xpointer(/VisualMob)" />

    <kind href="/Mechanics/Creatures/GolemJunes/GolemJunesNOEXP_Kind.(MobKind).xdb#xpointer(/gameMechanics.world.mob.MobKind)" />

    <walkSpeed>2</walkSpeed>

    <faction href="/World/Factions/Neutral.xdb#xpointer(/gameMechanics.world.creature.Faction)" />

    <lootTable href="/Items/HeroicInstancesReward/Tier4/LootTables/LootTable_Extra1_BossFinal_Armor.(LootTableResource).xdb#xpointer(/gameMechanics.constructor.schemes.item.LootTableResource)" />

    <quality href="/Mechanics/MobQualities/Miniboss.xdb#xpointer(/gameMechanics.world.mob.MobQuality)" />

    <levelMin type="gameMechanics.formulas.IntConstantValue">
    <value>45</value>
    </levelMin>
    <levelMax type="gameMechanics.formulas.IntConstantValue">
    <value>45</value>
    </levelMax>
</gameMechanics.world.mob.MobWorld>
 
Last edited:
Back
Top