From 02019804bf350fa760eaf4bfa6452091d67364c0 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Mon, 19 Mar 2012 19:42:44 +0000 Subject: 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15732 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 6 ++++++ src/map/status.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/map/skill.c b/src/map/skill.c index 0c1d042d0..aee08d304 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -12649,6 +12649,12 @@ int skill_sit (struct map_session_data *sd, int type) 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(type) { diff --git a/src/map/status.h b/src/map/status.h index 44487cc59..e46f0b4a0 100644 --- a/src/map/status.h +++ b/src/map/status.h @@ -1175,7 +1175,7 @@ enum si_type { SI_EQUIPED_FLOOR = 571, SI_ODINS_POWER = 583, SI_ALL_RIDING = 613,//awesome 571-613 gap, we're missing quite a few stuff here. - + SI_SITTING = 622, SI_MAX, }; -- cgit v1.2.3-60-g2f50