Exemple #1
0
    public static void Main(string[] args)
    {
        OldLady oldLady = new OldLady();

        oldLady.AddSubscriber(new Person());
        oldLady.AddSubscriber(new Person());

        oldLady.FindOut("Rita came with a Rocker");
        Console.ReadLine();
    }
Exemple #2
0
 public static bool OnEnterRoom_OldLady(OldLady __instance, ref UseSkill skill)
 {
     if (skill.skillTypeInfo.rwbpType == RwbpType.P)
     {
         skill.agent.mental = 0;
         skill.agent.Panic();
         return(false);
     }
     else if ((4 - __instance.model.qliphothCounter) >= skill.agent.temperanceLevel)
     {
         skill.agent.mental = 0;
         skill.agent.Panic();
         return(false);
     }
     return(true);
 }