DS-GAMING-SE / Sonic

2 stars 2 forks source link

[Bug] Shuriken Interaction #5

Closed ArcPh1r3 closed 11 months ago

ArcPh1r3 commented 11 months 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);