private void AddInfoToCharaGeneralAsPlayer() { HitPoint = 100; MentalPoint = 50; GachaPoint = 0; ThisCharaGeneral.SetCharaType("Player"); ThisCharaGeneral.SetSwitchCollisionKnockBack(true); ThisCharaGeneral.SetSwitchDamagedKnockBack(true); }
private void AddInfoToCharaGeneralAsWeapon() { ThisCharaGeneral.SetCharaType("Weapon"); ThisCharaGeneral.SetSwitchCollisionKnockBack(false); ThisCharaGeneral.SetSwitchDamagedKnockBack(false); if (KnockBackAmount == 0) { KnockBackAmount = 20; } }
private void AddInfoToCharaGeneralAsEnemy() { //将来的にはスポーンコントローラで指定する HitPoint = 50; ThisCharaGeneral.SetCharaType("Enemy"); ThisCharaGeneral.SetSwitchCollisionKnockBack(true); ThisCharaGeneral.SetSwitchDamagedKnockBack(true); ThisAttack.EquipWeapon(1, "Body"); ThisAttack.AttackSimpleMake(1); }