法杖,武器切换
This commit is contained in:
@@ -211,7 +211,7 @@ namespace Cielonos.MainGame.Characters
|
||||
.SetAttackSubmodule<Projectile>(attackData["ShockwaveMissile"])
|
||||
.SetTimeSubmodule<Projectile>(5f)
|
||||
.SetHitSubmodule<Projectile>()
|
||||
.SetTraceMoveModule<Projectile>(player, 20f, -2f, 60f, -10f, bulletSpawnerTransform.forward, false)
|
||||
.SeDetachableTraceMoveModule<Projectile>(player, 20f, -2f, 60f, -10f, bulletSpawnerTransform.forward)
|
||||
.SetRaycastSubmodule<Projectile>(default, 0.1f, 0.2f)
|
||||
.SetForceSubmodule<Projectile>(1f)
|
||||
.SetReactionSubmodule<Projectile>(false, false, false, true, false, false);
|
||||
|
||||
@@ -32,8 +32,9 @@ namespace Cielonos.MainGame.Characters
|
||||
public void EquipMainWeapon(MainWeaponBase newWeapon)
|
||||
{
|
||||
currentMainWeapon = newWeapon;
|
||||
currentMainWeapon.OnEquipped();
|
||||
currentMainWeapon.RegisterFullBodyFuncAnims();
|
||||
currentMainWeapon.OnEquipped();
|
||||
|
||||
|
||||
PlayerCanvas.Instance.mainWeaponUIArea.Initialize(currentMainWeapon);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user