/// <summary>
        /// ダメージを与えられます
        /// </summary>
        private void dammage()
        {
            IBattleable attacker = prosessingPair.Key;
            AttackSkill useSkill = prosessingPair.Value;

            int atk = useSkill.getAtk(attacker);
            int hit = useSkill.getHit(attacker);

            choseReaction.reaction(user, atk, hit, useSkill.getAttackSkillAttribute());
            waitingReactionActiveSkills.Remove(prosessingPair);
            updateProsessingPair();

            choseReaction = ReactionSkillMasterManager.getInstance().getReactionSkillFromId(2);
        }
Exemple #2
0
        /// <summary>
        /// ReactionSkillを使用します
        /// </summary>
        private void reaction()
        {
            ReactionSkill reactionSkill = waitingProgressSkills[0].Key;
            IBattleable   attacker      = waitingProgressSkills[0].Value.Key;
            AttackSkill   skill         = waitingProgressSkills[0].Value.Value;

            deleteTargetingLine(attacker);
            int atk = skill.getAtk(attacker);
            int hit = skill.getHit(attacker);

            reactionSkill.reaction(player, atk, hit, skill.getAttackSkillAttribute());
            waitingProgressSkills.Remove(waitingProgressSkills[0]);
            needToProgressReaction = true;
            updateProsessingPair();
        }