EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=590)
-   -   Items class changing (https://www.eqemulator.org/forums/showthread.php?t=21401)

Magefeu 08-30-2006 04:44 AM

Items class changing
 
I know it may look stupid (ok it took me 3 days to figure it out and I am ashamed) but if you want to change the class of your item without using any tool just think that the class field is an integer used as a set of binary flags.

If you take the following class list with one bit for each class you should be able to edit your items directly in mysql.

1 Warrior
2 Cleric
3 Paladin
4 Ranger
5 Shadow Knight
6 Druid
7 Monk
8 Bard
9 Rogue
10 Shaman
11 Necromancer
12 Wizard
13 Magician
14 Enchanter
15 Beastlord
16 Berserker

IE :
Class = 1 => Warrior => 0000000000000001
Class = 2 => Cleric => 0000000000000010
Class = 3 => Warrior & Cleric => 0000000000000011
Class = 4 => Paladin => 0000000000000100
Class = 5 => Paladin & Warrior => 0000000000000101
ect...

BTW it works the same way for the races

I hope it makes it clearer for some of us....


All times are GMT -4. The time now is 12:24 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.