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://svn.code.sf.net/p/rathena/svn/trunk@15810 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
shennetsind 2012-03-28 04:56:49 +00:00
parent 3af6c9f32e
commit d54add341a

View File

@ -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)
)