Exemplo n.º 1
0
 public SupportCloneAiBehaviour(CharacterInstance character)
 {
     base.Character = character;
     this.m_targetingAiBehaviour = new HeroTargetingAiBehaviour(character);
     this.m_movementBehaviour    = new PursuitAiBehaviour(character);
     this.m_seekTacticalPosition = true;
 }
Exemplo n.º 2
0
 public CompanionMeleeAiBehaviour(CharacterInstance character)
 {
     base.Character = character;
     this.m_targetingAiBehaviour           = new HeroTargetingAiBehaviour(character);
     this.m_movementBehaviour              = new PursuitAiBehaviour(character);
     this.m_seekTacticalPosition           = true;
     this.m_nextPossibleSkillExecutionTime = Time.fixedTime;
 }
Exemplo n.º 3
0
 public SupportAiBehaviour(CharacterInstance character, [Optional, DefaultParameterValue(null)] List <PerkType> perkTypes)
 {
     base.Character = character;
     if (perkTypes != null)
     {
         for (int i = 0; i < perkTypes.Count; i++)
         {
             PerkType     perkType = perkTypes[i];
             PerkInstance item     = new PerkInstance();
             item.Type     = perkType;
             item.Modifier = ConfigPerks.GetBestModifier(perkType);
             character.SupportPerks.PerkInstances.Add(item);
         }
     }
     this.attachSupportPerk(PerkType.AllyHeal);
     this.m_targetingAiBehaviour               = new HeroTargetingAiBehaviour(character);
     this.m_movementBehaviour                  = new PursuitAiBehaviour(character);
     this.m_seekTacticalPositionTime           = Time.fixedTime;
     this.m_nextPossibleHealSkillExecutionTime = Time.fixedTime;
 }
 public HeroRangedAiBehaviour(CharacterInstance character)
 {
     base.Character            = character;
     this.m_targetingBehaviour = new HeroTargetingAiBehaviour(character);
     this.m_attackBehaviour    = new PursuitAndRangedAttackAiBehaviour(character);
 }