Skip to content
Snippets Groups Projects
Commit 91c8ad40 authored by Rumen Nikiforov's avatar Rumen Nikiforov
Browse files

BETA: Fixing Another Shots issue with Dummy SkillType it will consume shot...

BETA: Fixing Another Shots issue with Dummy SkillType it will consume shot only when skill can use shots (This should fix CP Potion issues)
	* Reported by: MELERIX
parent 2e792ed8
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,10 @@ public class Dummy implements ISkillHandler
}
}
activeChar.setChargedShot(activeChar.isChargedShot(ShotType.BLESSED_SPIRITSHOTS) ? ShotType.BLESSED_SPIRITSHOTS : ShotType.SPIRITSHOTS, false);
if (skill.useSpiritShot())
{
activeChar.setChargedShot(activeChar.isChargedShot(ShotType.BLESSED_SPIRITSHOTS) ? ShotType.BLESSED_SPIRITSHOTS : ShotType.SPIRITSHOTS, false);
}
}
@Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment