PC_Checkskill
Akkarinage edited this page Nov 5, 2016
·
1 revision
Pages 190
Getting Started
- Installation instructions
- Transitioning from SVN to GIT
- Compiling on your OS
- Connecting & Starting rAthena
Configure your Server
- Scripting like a pro!
- Server Modifications and what to expect
- Database Configuration
Customization
- Adding Custom Items
- Adding Custom Monsters
- GRF Encryption
Setup the Client
- Data folder
- Diff files
Misc Databases
Third-Party Software
Clone this wiki locally
title: PC Checkskill permalink: /PC_Checkskill/
Check Skill LVL on the character
int pc_checkskill(struct map_session_data *sd,int skill_id)
pc_checkskill(sd,SKILLID)>X)
- sd = Only players have skills (mobs are forced skill uses)
- SKILLID = Skill ID, can be numeric (28=heal) or the client name (AL_HEAL=heal)
- X = Skill Level (>0 he only needs 1 point)
- int = Return the skill level learned by player
Note: This can be used to check if the character has the skill or not (same as >0)
pc_checkskill(sd,SKILLID)