diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-03-19 19:42:44 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-03-19 19:42:44 +0000 |
commit | 02019804bf350fa760eaf4bfa6452091d67364c0 (patch) | |
tree | b135768682fd3b1575d3c87e926f8150569be530 | |
parent | a0997fb3222f39d4da43b593578e90f8554f6b68 (diff) | |
download | hercules-02019804bf350fa760eaf4bfa6452091d67364c0.tar.gz hercules-02019804bf350fa760eaf4bfa6452091d67364c0.tar.bz2 hercules-02019804bf350fa760eaf4bfa6452091d67364c0.tar.xz hercules-02019804bf350fa760eaf4bfa6452091d67364c0.zip |
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
-rw-r--r-- | src/map/skill.c | 6 | ||||
-rw-r--r-- | src/map/status.h | 2 |
2 files changed, 7 insertions, 1 deletions
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, }; |