Added the official sitting icon support, now while sitting a ugly icon will be displayed in the buff bar. thanks to keikun for providing the id, curse him as much as you like for the icon being horribly ugly <3

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15732 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
shennetsind 2012-03-19 19:42:44 +00:00
parent fb41dec87d
commit 07d301cd6d
2 changed files with 7 additions and 1 deletions

View File

@ -12649,6 +12649,12 @@ int skill_sit (struct map_session_data *sd, int type)
range = skill_get_splash(TK_SPTIME, lv); range = skill_get_splash(TK_SPTIME, lv);
} }
if( type ) {
clif_status_load(&sd->bl,SI_SITTING,1);
} else {
clif_status_load(&sd->bl,SI_SITTING,0);
}
if (!flag) return 0; if (!flag) return 0;
if(type) { if(type) {

View File

@ -1175,7 +1175,7 @@ enum si_type {
SI_EQUIPED_FLOOR = 571, SI_EQUIPED_FLOOR = 571,
SI_ODINS_POWER = 583, SI_ODINS_POWER = 583,
SI_ALL_RIDING = 613,//awesome 571-613 gap, we're missing quite a few stuff here. SI_ALL_RIDING = 613,//awesome 571-613 gap, we're missing quite a few stuff here.
SI_SITTING = 622,
SI_MAX, SI_MAX,
}; };