MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | // MorgenGrauen MUDlib |
| 2 | // |
| 3 | // skills.h -- Defines and prototypes for /std/living/skills.c |
| 4 | // |
| 5 | // $Id: skills.h 8694 2014-02-20 23:06:50Z Zesstra $ |
| 6 | |
| 7 | #ifndef _LIVING_SKILLS_H_ |
| 8 | #define _LIVING_SKILLS_H_ |
| 9 | |
| 10 | #endif // _LIVING_SKILLS_H_ |
| 11 | |
| 12 | #ifdef NEED_PROTOTYPES |
| 13 | #ifndef _LIVING_SKILLS_H_PROTO_ |
| 14 | #define _LIVING_SKILLS_H_PROTO_ |
| 15 | public varargs int UseSpell(string str, string spell); |
| 16 | |
| 17 | public varargs mapping QuerySkill(string sname, string gilde); |
| 18 | public varargs int QuerySkillAbility(mixed sname, mixed argl); |
| 19 | |
| 20 | protected varargs mixed LimitAbility(mixed sinfo, int diff); |
| 21 | public varargs mixed UseSkill(string skill, mapping args); |
| 22 | |
| 23 | public varargs void LearnSkill(string sname, int add, int diff); |
| 24 | public varargs void ModifySkill(string sname, mixed val, int diff, |
| 25 | string gilde); |
| 26 | public varargs int SetSpellFatigue(int duration, string key); |
| 27 | public varargs int CheckSpellFatigue(string key); |
| 28 | public void DeleteSpellFatigue(string key); |
| 29 | |
| 30 | #endif // _LIVING_SKILLS_H_PROTO_ |
| 31 | |
| 32 | #endif // NEED_PROTOTYPES |
| 33 | |