Ejemplo n.º 1
0
 private void onCharacterSkillExecuted(CharacterInstance c, SkillType skillType, SkillExecutionStats executionStats)
 {
     this.hideStatusIndicator(c, skillType);
 }
 private void onCharacterSkillActivated(CharacterInstance c, SkillType skillType, float buildupTime, SkillExecutionStats executionStats)
 {
     if (c == base.CharacterView.Character)
     {
         base.startAction(AbstractCharacterAnimator.Action.ATTACK_RANGED, 0.6f, true, -1, -1f);
     }
 }
Ejemplo n.º 3
0
 private void onCharacterSkillActivated(CharacterInstance c, SkillType skillType, float buildupTime, SkillExecutionStats executionStats)
 {
     if ((skillType != SkillType.Shield) && (skillType == SkillType.Midas))
     {
     }
 }
Ejemplo n.º 4
0
 private void onCharacterSkillActivated(CharacterInstance character, SkillType skillType, float buildupTime, SkillExecutionStats executionStats)
 {
     if (!base.CharacterView.IsMenuView && ((character == base.CharacterView.Character) && (skillType == SkillType.Slam)))
     {
         base.startAction(AbstractCharacterAnimator.Action.SKILL_LEAP, 0.4f, true, -1, -1f);
     }
 }
Ejemplo n.º 5
0
 private void onCharacterSkillExecutionMidpoint(CharacterInstance character, SkillType skillType, SkillExecutionStats executionStats)
 {
     if (!base.CharacterView.IsMenuView && (character == base.CharacterView.Character))
     {
         if (skillType == SkillType.Dash)
         {
             base.startAction(AbstractCharacterAnimator.Action.ATTACK_MELEE, 0.2f, true, 0, -1f);
         }
         else if ((skillType == SkillType.Omnislash) && (executionStats.EnemiesAround > 0))
         {
             base.startAction(AbstractCharacterAnimator.Action.ATTACK_MELEE, 0.2f, true, 0, -1f);
         }
     }
 }
Ejemplo n.º 6
0
 private void onCharacterSkillBuildupCompleted(CharacterInstance c, SkillType skillType, SkillExecutionStats executionStats)
 {
     if (!base.CharacterView.IsMenuView && (c == base.CharacterView.Character))
     {
         if (skillType == SkillType.Leap)
         {
             float duration = 0.66f;
             if (executionStats.MovementDurationDynamic > 0f)
             {
                 duration *= executionStats.MovementDurationDynamic / ConfigSkills.Leap.LeapDuration;
             }
             base.startAction(AbstractCharacterAnimator.Action.SKILL_LEAP, duration, true, -1, -1f);
         }
         else if (skillType == SkillType.Dash)
         {
             base.startAction(AbstractCharacterAnimator.Action.ATTACK_MELEE, ConfigSkills.SHARED_DATA[SkillType.Dash].BuildupTime * 0.3f, true, 1, 1f);
         }
         else if (skillType == SkillType.Implosion)
         {
             base.startAction(AbstractCharacterAnimator.Action.SKILL_LEAP, ConfigSkills.Implosion.LeapDuration * 1.11f, true, -1, -1f);
         }
         else if (skillType == SkillType.Clone)
         {
             base.startAction(AbstractCharacterAnimator.Action.SKILL_CLONE, 0.5f, true, -1, -1f);
         }
     }
 }
Ejemplo n.º 7
0
 private void onCharacterSkillExecuted(CharacterInstance character, SkillType skillType, SkillExecutionStats executionStats)
 {
     if ((character == base.CharacterView.Character) && (skillType == SkillType.Blast))
     {
         base.stopAction();
     }
 }
Ejemplo n.º 8
0
 private void onCharacterSkillBuildupCompleted(CharacterInstance c, SkillType skillType, SkillExecutionStats executionStats)
 {
     if ((c == base.CharacterView.Character) && (skillType == SkillType.Blast))
     {
         base.startAction(AbstractCharacterAnimator.Action.SKILL_BLAST, MonsterFireblastAiBehaviour.MONSTER_FIREBLAST_BUILDUP_DURATION + MonsterFireblastAiBehaviour.MONSTER_FIREBLAST_REMAINDER_DURATION, true, -1, -1f);
     }
 }