Adding a Job to defineJob.h

12/05/2016 16:03 direktbottle#1
So I want to add a job to defineJob.h.

I want to add one new 1st job, one new 2nd job, one new Master and one new Hero. But the define IDs are all in numberical order, and I can't increase them all to include my new jobs, because messing up their original IDs make things happen in the game. Do each job type need to be within the MAX_ number? If I make a new 1st job can it be ID 32 or something like that, must I increase MAX_EXPERT to 32? It seems a bit strange

Code:
// Expert
#define JOB_MERCENARY               1 // 기본 직업들
#define JOB_ACROBAT                 2
#define JOB_ASSIST                  3
#define JOB_MAGICIAN                4
#define JOB_PUPPETEER               5
#define MAX_EXPERT                  6

// Professional
#define JOB_KNIGHT					6
#define JOB_BLADE					7
#define JOB_JESTER					8
#define JOB_RANGER					9
#define JOB_RINGMASTER				10
#define JOB_BILLPOSTER				11
#define JOB_PSYCHIKEEPER			12
#define JOB_ELEMENTOR				13
#define JOB_GATEKEEPER				14
#define JOB_DOPPLER					15
#define MAX_PROFESSIONAL			16

// Master
#define JOB_KNIGHT_MASTER			16
#define JOB_BLADE_MASTER			17
#define JOB_JESTER_MASTER			18
#define JOB_RANGER_MASTER			19
#define JOB_RINGMASTER_MASTER		20
#define JOB_BILLPOSTER_MASTER		21
#define JOB_PSYCHIKEEPER_MASTER		22
#define JOB_ELEMENTOR_MASTER		23
#define MAX_MASTER					24

// Hero
#define JOB_KNIGHT_HERO				24
#define JOB_BLADE_HERO				25
#define JOB_JESTER_HERO				26
#define JOB_RANGER_HERO				27
#define JOB_RINGMASTER_HERO			28
#define JOB_BILLPOSTER_HERO			29
#define JOB_PSYCHIKEEPER_HERO		30
#define JOB_ELEMENTOR_HERO			31
#define MAX_HERO					32