Jump to content
Forgot your email address? ×
×
×
  • Create New...
  • 0

Mob_Proto flags


iwitrag

Question

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

7 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Announcements

  • -15% Discount in Metin2 Dev Store (01/10/2021 => 31/12/2021) => Code => 15_PCT_OCT_TO_DEC_2021


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.