切换主武器
This commit is contained in:
@@ -23,6 +23,10 @@ namespace Cielonos.MainGame.Inventory
|
||||
{
|
||||
PlayTargetedAnimation("LightAttack" + comboSm.GetCurrentNodeName(), currentTarget, 5f);
|
||||
}
|
||||
else
|
||||
{
|
||||
PlayTargetedAnimation("LightAttack" + comboSm.GetCurrentNodeName(), null, 5f);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,6 +41,10 @@ namespace Cielonos.MainGame.Inventory
|
||||
{
|
||||
PlayTargetedAnimation("HeavyAttack", currentTarget, 3f);
|
||||
}
|
||||
else
|
||||
{
|
||||
PlayTargetedAnimation("HeavyAttack", null, 3f);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -50,6 +58,11 @@ namespace Cielonos.MainGame.Inventory
|
||||
private void LightAttack3() => GenerateProjectile("HeavyProjectile", currentTarget, 10f);
|
||||
private void HeavyAttack() => GenerateGroundArea("GroundArea");
|
||||
}
|
||||
|
||||
public partial class FutureWand : MainWeaponBase
|
||||
{
|
||||
private Transform muzzle => viewObjects["Wand"].functionalParts["Muzzle"].transform;
|
||||
}
|
||||
|
||||
public partial class FutureWand
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user