diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-03-28 04:56:49 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-03-28 04:56:49 +0000 |
commit | 71c1fa8df4802faefc39cd8ec7b6ffb2800d3c94 (patch) | |
tree | 5a6bc3618c7add0c86060015b41a2fa22e60b6a6 /src/map | |
parent | 4822e68c6c9d68147c7877e3325e3b5ea2c112c1 (diff) | |
download | hercules-71c1fa8df4802faefc39cd8ec7b6ffb2800d3c94.tar.gz hercules-71c1fa8df4802faefc39cd8ec7b6ffb2800d3c94.tar.bz2 hercules-71c1fa8df4802faefc39cd8ec7b6ffb2800d3c94.tar.xz hercules-71c1fa8df4802faefc39cd8ec7b6ffb2800d3c94.zip |
Fixed bugreport:5518 Wanderer/Minstrel Voice Lessons now allow them to cast their 3rd skills while dancing as long as voice lessons is level 5 or higher.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15810 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/status.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/map/status.c b/src/map/status.c index aa3ab0a29..cfa387a96 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -1439,9 +1439,7 @@ int status_check_skilluse(struct block_list *src, struct block_list *target, int { // Lvl 5 Lesson or higher allow you use 3rd job skills while dancing.v if( pc_checkskill((TBL_PC*)src,WM_LESSON) < 5 ) return 0; - } - if(sc->data[SC_LONGING]) - { //Allow everything except dancing/re-dancing. [Skotlex] + } else if(sc->data[SC_LONGING]) { //Allow everything except dancing/re-dancing. [Skotlex] if (skill_num == BD_ENCORE || skill_get_inf2(skill_num)&(INF2_SONG_DANCE|INF2_ENSEMBLE_SKILL) ) |