DS-GAMING-SE / Sonic

Apache License 2.0
2 stars 3 forks source link

[Bug] Shuriken Interaction #5

Closed ArcPh1r3 closed 1 year ago

ArcPh1r3 commented 1 year ago

shuriken doesn't work on m1, this is easily fixed though with the below code pasted into the skill state's OnEnter (credit to Bog)

PrimarySkillShurikenBehavior shurikenComponent = GetComponent<PrimarySkillShurikenBehavior>(); if (shurikenComponent) shurikenComponent.OnSkillActivated(skillLocator.primary);