Add wyvern breath skill with setMount method.

Contributed by Sahar.
This commit is contained in:
MobiusDevelopment
2019-09-30 18:13:08 +00:00
parent 38b37ec28c
commit 47b1ef7198

View File

@@ -9174,20 +9174,19 @@ public class PlayerInstance extends Playable
{ {
case NONE: // None case NONE: // None
{ {
if (isFlying())
{
removeSkill(CommonSkill.WYVERN_BREATH.getSkill().getId(), false);
setIsFlying(false); setIsFlying(false);
break; sendSkillList();
}
case STRIDER: // Strider
{
if (_noble)
{
addSkill(CommonSkill.STRIDER_SIEGE_ASSAULT.getSkill(), false);
} }
break; break;
} }
case WYVERN: // Wyvern case WYVERN: // Wyvern
{ {
setIsFlying(true); setIsFlying(true);
addSkill(CommonSkill.WYVERN_BREATH.getSkill(), false);
sendSkillList();
break; break;
} }
} }