Query to Make All Spells No-Drop
Hey all,
Just wondering if anyone would be able to help me write an SQL query to make all items with the word Spell: in the name to be no drop. Thanks! |
Here you go.
Code:
UPDATE items SET nodrop = 0 WHERE `name` like "Spell:%"; |
Thanks so much Kingly.
|
Also use 'Scroll:%' and dont remember if Songs are spells or scrolls or umm songs heh
edit : songs are 'Song:%' |
WHERE itemtype = 20;
20 = spells/songs item type. May be a more accurate way of doing this. |
Code:
SELECT items.id,items.name FROM items,spells_new WHERE items.scrolleffect = spells_new.id; Code:
UPDATE items,spells_new SET items.nodrop = 0 WHERE items.scrolleffect = spells_new.id; |
is good .... make....
|
All times are GMT -4. The time now is 09:01 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.