(Change pand to the name of the mob you want the costume id of.)
Code: Select all
SELECT ((ORD(SUBSTR(`skin_model`, 4, 1)) << 8) + (ORD(SUBSTR(`skin_model`, 3, 1))))
FROM mob_change_skin
WHERE skin_name LIKE '%pand%'
(Change Tiamat to the name of the mob you want the costume id of.)
Code: Select all
SELECT ((ORD(SUBSTR(`modelid`, 4, 1)) << 8) + (ORD(SUBSTR(`modelid`, 3, 1))))
FROM mob_pools
WHERE `name` LIKE '%Tiamat%'