package skills

// Skill type constants
const (
	SkillTypeWeaponry     = 1
	SkillTypeSpellcasting = 2
	SkillTypeAvoidance    = 3
	SkillTypeArmor        = 4
	SkillTypeShield       = 5
	SkillTypeHarvesting   = 6
	SkillTypeArtisan      = 7
	SkillTypeCraftsman    = 8
	SkillTypeOutfitter    = 9
	SkillTypeScholar      = 10
	SkillTypeGeneral      = 13
	SkillTypeLanguage     = 14
	SkillTypeClass        = 15
	SkillTypeCombat       = 16
	SkillTypeWeapon       = 17
	SkillTypeTSKnowledge  = 18
)

// DoF (Desert of Flames) skill type constants
const (
	SkillTypeGeneralDoF     = 11
	SkillTypeLanguageDoF    = 12
	SkillTypeClassDoF       = 13
	SkillTypeCombatDoF      = 14
	SkillTypeWeaponDoF      = 15
	SkillTypeTSKnowledgeDoF = 16
)

// Special skill IDs
const (
	SkillIDSculpting    = 1039865549
	SkillIDArtistry     = 3881305672
	SkillIDFletching    = 3076004370
	SkillIDMetalworking = 4032608519
	SkillIDMetalshaping = 3108933728
	SkillIDTailoring    = 2082133324
	SkillIDChemistry    = 2557647574
	SkillIDArtificing   = 3330500131
	SkillIDScribing     = 773137566
)

// Skills that update current_value to max_value when max_value is updated
const (
	SkillIDDualwield     = 1852383242
	SkillIDFists         = 3177806075
	SkillIDDestroying    = 3429135390
	SkillIDMagicAffinity = 2072844078
)

// Weapon skill IDs
const (
	SkillIDGreatsword = 2292577688 // 2h slashing
	SkillIDGreatspear = 2380184628 // 2h piercing
	SkillIDStaff      = 3180399725 // 2h crushing
)

// Disarm skill check results
const (
	DisarmSuccess = 1
	DisarmFail    = 0
	DisarmTrigger = -1
)

// Skill increase constants
const (
	// Base skill increase chance percentage (at skill level 1)
	BaseSkillIncreasePercent = 20
	// Max skill level for calculating increase chances
	MaxSkillLevelForIncrease = 400
)
