Jump to content

Mob_Proto flags


Go to solution Solved by metin2team,

Recommended Posts

Hello,

 

I'm working on converter for mob_proto (XML -> SQL and reversed) like that one for item_proto I have released.

 

I need to ask something:

 

In SQL, there are these 4 columns:

`size` set('SMALL', 'MEDIUM', 'BIG') NOT NULL DEFAULT 'SMALL'

`ai_flag` set('AGGR', 'NOMOVE', 'COWARD', 'NOATTSHINSU', 'NOATTCHUNJO', 'NOATTJINNO', 'ATTMOB', 'BERSERK', 'STONESKIN', 'GODSPEED', 'DEATHBLOW', 'REVIVE') DEFAULT NULL
`setRaceFlag` set('ANIMAL', 'UNDEAD', 'DEVIL', 'HUMAN', 'ORC', 'MILGYO', 'INSECT', 'FIRE', 'ICE', 'DESERT') NOT NULL DEFAULT ''
`setImmuneFlag` set('STUN', 'SLOW', 'FALL', 'CURSE', 'POISON', 'TERROR') NOT NULL DEFAULT ''
 
 
But in XML, these columns values are represented by numbers, for example
ai_flag="3457"
= 'AGGR,BERSERK,STONESKIN,DEATHBLOW,REVIVE'
 
How can I know, which number is what?
  • Love 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.