예제 #1
0
 //- Effect if Pushed
 public override void Effect()
 {
     if (Secound.GetRelationTo(First) >= 25)
     {
         First.AddRelation(Secound, 10);
         Secound.AddRelation(First, 10);
         First.JoinParty(Secound.Party);
     }
     else
     {
         MessageBox.Show("Beziehung zu niedrig.");
     }
 }
예제 #2
0
 //- Effect if Pushed
 public override void Effect()
 {
     First.AddRelation(Secound, 25);
     Secound.AddRelation(First, 5);
 }
예제 #3
0
 //- Condition to met
 public override bool Condition()
 {
     return(base.Condition() && First.LocationID == Secound.LocationID &&
            Secound.Knows(First) && First.Party == null &&
            First.Party != Secound.Party && Secound.Party != null);
 }