
#define MAXPLAYERS	32

#define KEYS (1<<0)|(1<<1)|(1<<2)|(1<<3)|(1<<4)|(1<<5)|(1<<6)|(1<<7)|(1<<8)|(1<<9)

#define TEAM_SPEC			0
#define TEAM_T				1
#define TEAM_CT				2

#define CS_ARMOR_NONE			0
#define CS_ARMOR_KEVLAR 		1
#define CS_ARMOR_VESTHELM 		2

#define GENERIC				0
#define BURN				8
#define FREEZE				16
#define SHOCK				256
#define ENERGYBEAM			1024

#define DEFAULT_MAX_HEALTH		100
#define DEFAULT_MAX_ARMOUR		100

//---------------------------------------------------------------------

#define SAVE_NONE			0
#define SAVE_VAULT			1
#define SAVE_DB				2

#define BLEACH_SQL_HOST			"localhost"
#define BLEACH_SQL_USER			"root"
#define BLEACH_SQL_PASSWORD 		"password"
#define BLEACH_SQL_DATABASE 		"bleach"
#define BLEACH_SQL_TYPE	 		"0"
#define BLEACH_SQL_TABLE	 	"players"

#define DB_MYSQL			0
#define DB_SQLITE			1

#define SQLITE_SYNC_OFF			0
#define SQLITE_SYNC_NORMAL		1
#define SQLITE_SYNC_FULL		2

//---------------------------------------------------------------------

#define CLASS_NONE			0
#define CLASS_DEATHGOD			1
#define CLASS_HOLLOW 			2

#define BLEACH_ADMIN_FLAG 		ADMIN_CVAR

#define BLEACH_HUD_PLAYER		3
#define BLEACH_HUD_STATUS		4

#define BLEACH_MAX_CLASSES 		3
#define BLEACH_MAX_LEVELS 		10
#define BLEACH_MAX_ITEMS 		3

#define BLEACH_START_SPIRIT_POWER	30
#define BLEACH_MAXIMUM_SPIRIT_POWER	250

#define BLEACH_START_LEVEL 		1
#define BLEACH_START_SKILLPOINTS 	3
#define BLEACH_START_ATTRIBUTEPOINTS 	5
#define BLEACH_AP_PER_LEVEL 		5
#define BLEACH_SP_PER_LEVEL 		3
#define BLEACH_SPR_PER_LEVEL		130

#define BLEACH_RESKILL_COST		1600

//---------------------------------------------------------------------

#define BLEACH_MAX_SOUNDS		4

#define BLEACH_SOUND_LEVELUP		0
#define BLEACH_SOUND_WLIGHT		1
#define BLEACH_SOUND_IRING		2
#define BLEACH_SOUND_CERO		3

//---------------------------------------------------------------------

#define BLEACH_XP_MIN_PLAYERS		"2"
#define BLEACH_XP_SHARE_RADIUS		"750"

#define BLEACH_XP_SUICIDE 		"9"
#define BLEACH_XP_KILL 			"8"
#define BLEACH_XP_TEAMKILL 		"18"
#define BLEACH_XP_ASSIST 		"3"
#define BLEACH_XP_HEADSHOT 		"4"
#define BLEACH_XP_SKILL			"2"
#define BLEACH_XP_NEGATION 		"1"
#define BLEACH_XP_PLANT 		"10"
#define BLEACH_XP_DEFUSE 		"20"
#define BLEACH_XP_EXPLODE 		"10"
#define BLEACH_XP_ROUND 		"6"

#define BLEACH_XP_BOMBER 		"10"
#define BLEACH_XP_PLANTER 		"5"
#define BLEACH_XP_DEFUSER 		"2"

#define BLEACH_XP_LONG_TERM		"1.0"
#define BLEACH_XP_SHORT_TERM		"5.0"

//---------------------------------------------------------------------

#define BLEACH_TASK_SPIRITRELEASE	0
#define BLEACH_TASK_SPIRIT		32
#define BLEACH_TASK_CERO		64
#define BLEACH_TASK_BLOSSOMS		96
#define BLEACH_TASK_STING		128
#define BLEACH_TASK_VBURNING		160
#define BLEACH_TASK_IRING		192

#define BLEACH_TASK_BUYTIME		224

#define BLEACH_TASK_GIGAI		256
#define BLEACH_TASK_INJECTION		288

//---------------------------------------------------------------------

#define BLEACH_MAX_SKILLS		6

#define P_SKILL_1			0
#define P_SKILL_2			1
#define P_SKILL_3			2
#define P_SKILL_4			3
#define P_SKILL_5			4
#define P_SKILL_6			5
#define P_SKILL_7			6

//---------------------------------------------------------------------

#define BLEACH_ITEM_1_COST		6655
#define BLEACH_ITEM_2_COST		3350
#define BLEACH_ITEM_3_COST		2120

//---------------------------------------------------------------------

#define BLEACH_SKILL_NEGATION_HEALTH		40
#define BLEACH_SKILL_NEGATION_TIME		1.2
#define BLEACH_SKILL_CERO_CHARGE_TIME		2.0
#define BLEACH_SKILL_CERO_DISCHARGE_TIME	5.5

//---------------------------------------------------------------------

#define BLEACH_SKILL_NOVICE_REQ_LEVEL	1
#define BLEACH_SKILL_NORMAL_REQ_LEVEL	3
#define BLEACH_SKILL_GREATER_REQ_LEVEL	5
#define BLEACH_SKILL_MASTER_REQ_LEVEL	7

#define BLEACH_SKILL_NOVICE_MAXLEVEL	5
#define BLEACH_SKILL_NORMAL_MAXLEVEL	10
#define BLEACH_SKILL_GREATER_MAXLEVEL	15
#define BLEACH_SKILL_MASTER_MAXLEVEL	20

#define BLEACH_SKILL_NOVICE_DAMAGE	10.0
#define BLEACH_SKILL_NORMAL_DAMAGE	15.0
#define BLEACH_SKILL_GREATER_DAMAGE	30.0
#define BLEACH_SKILL_MASTER_DAMAGE	75.0

#define BLEACH_SKILL_NOVICE_CD		15.0
#define BLEACH_SKILL_NORMAL_CD		20.0
#define BLEACH_SKILL_GREATER_CD		25.0
#define BLEACH_SKILL_MASTER_CD		30.0

#define	BLEACH_SKILL_NOVICE_COST	10
#define BLEACH_SKILL_NORMAL_COST	20
#define BLEACH_SKILL_GREATER_COST	75
#define BLEACH_SKILL_MASTER_COST	250

#define	BLEACH_SKILL_NOVICE_FROSTED	150.0
#define BLEACH_SKILL_NORMAL_FROSTED	120.0
#define BLEACH_SKILL_GREATER_FROSTED	80.0
#define BLEACH_SKILL_MASTER_FROSTED	50.0

#define	BLEACH_SKILL_NOVICE_FR_TIME	2.0
#define BLEACH_SKILL_NORMAL_FR_TIME	4.0
#define BLEACH_SKILL_GREATER_FR_TIME	6.0
#define BLEACH_SKILL_MASTER_FR_TIME	8.0

#define	BLEACH_SKILL_NOVICE_STUNNED	0.2
#define BLEACH_SKILL_NORMAL_STUNNED	0.5
#define BLEACH_SKILL_GREATER_STUNNED	0.8
#define BLEACH_SKILL_MASTER_STUNNED	1.2

#define BLEACH_SKILL_NOVICE_CHANCE	16
#define BLEACH_SKILL_NORMAL_CHANCE	7
#define BLEACH_SKILL_GREATER_CHANCE	4
#define BLEACH_SKILL_MASTER_CHANCE	2
