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

        ThisAttack.EquipWeapon(1, "Body");
        ThisAttack.AttackSimpleMake(1);
    }