Adding monster drops

Discussion in 'Modding' started by Sahabul Hossain, Jan 3, 2015.

  1. How to add unique monster drops?
     
  2. Alistaire

    Alistaire Member

    I don't believe you can edit existing monsters yet without editing the core game files, which would mean it's not possible to upload the mod to Steam and it wouldn't be possible to run it alongside other mods that edit those core files.

    You could make your own monDB.xml with monsters and add <drop name="a specific item" percent="a percentage"/> or <drop type="artifact" percent="a percentage"/> inside a <monster> tag to make that monster drop items.
     
  3. Thank you. Can I use this method to create monsters which will drop multiple items multiple numbers?
     
  4. Alistaire

    Alistaire Member

    I think you can add the same <drop> multiple times, and you can add as many <drop> as you want.
     
  5. I tried. But it is giving only one drop. I've put two drops at 100 percent. So it should give both. But it is giving only one.
     
  6. Vitellozzo

    Vitellozzo Member

    You can try a workaround which is used in the OneMoreNameless' ASCII mod, used at least for his miniboss Your 1000th Dog:
    in the monster tag, alongside sprites and secondarybuffs the monster has, he put on the <onDeath spell="Loot Sweet Loot" percent="100"/> line, which recalls
    Code:
    <spell type="targetfloor" name="Loot Sweet Loot"><effect type="triggerfromlist"><option name="Loot Bolts 1"/></effect><option name="Loot Bolts 2"/><option name="Loot Bolts 3"/><option name="Loot Bolts 4"/><option name="Loot Bolts 5"/>
    And it works 100% of the times.
     
    Sahabul Hossain likes this.
  7. Thank you. I will try this.