xackery / eqcleanup

Cleans up PEQ database to go to certain progressions
GNU General Public License v3.0
6 stars 3 forks source link

Nerf out of era items by setting class/race to NONE #9

Closed xackery closed 5 years ago

xackery commented 8 years ago

This is tough, what about.. SELECT DISTINCT(i.id), i.name, i.hp, i.mana, i.ac, sg.id, nt.name, s.zone FROM npc_types nt INNER JOIN spawnentry se ON se.npcid = nt.id INNER JOIN spawn2 s ON s.spawngroupid = se.spawngroupid INNER JOIN spawngroup sg ON sg.id = se.spawngroupid INNER JOIN loottable lt ON lt.id = nt.loottable_id INNER JOIN loottable_entries le ON le.loottable_id = lt.id INNER JOIN lootdrop_entries lde ON lde.lootdrop_id = le.lootdrop_id INNER JOIN items i ON i.id = lde.item_id WHERE s.zone = "ecommons" AND i.hp > 0;

xackery commented 5 years ago

we can just ensure it never spawns