Пример #1
0
    public Loot_Goal(GameObject owner, Planner_Goap planner) : base(owner, planner)
    {
        GoalWorldstates.Add(WorldStateSymbol.HasItem, true);

        //baseValue = persona.personalityModifer[Personality.GREED] * 0.33f;
        //var s = 1;
    }
Пример #2
0
 public KillEnemy_Goal(GameObject owner, Planner_Goap planner) : base(owner, planner)
 {
     GoalWorldstates.Add(WorldStateSymbol.EnemyDead, true);
 }
Пример #3
0
 public Explore_Goal(GameObject owner, Planner_Goap planner) : base(owner, planner)
 {
     GoalWorldstates.Add(WorldStateSymbol.RoomExplored, true);
 }
Пример #4
0
 public Win_Goal(GameObject owner, Planner_Goap planner) : base(owner, planner)
 {
     GoalWorldstates.Add(WorldStateSymbol.CanWin, true);
 }
Пример #5
0
 public Progress_Goal(GameObject owner, Planner_Goap planner) : base(owner, planner)
 {
     GoalWorldstates.Add(WorldStateSymbol.Progress, true);
 }
Пример #6
0
 public Heal_Goal(GameObject owner, Planner_Goap planner) : base(owner, planner)
 {
     GoalWorldstates.Add(WorldStateSymbol.IsHealed, true);
     healthScale = owner.GetComponent <Player>().MaxHealth;
 }