コード例 #1
0
    public static void gainCB(Nation player, int target, WarClaim claim)
    {
        claim.toggleActive();
        Nation otherNation = State.getNations()[target];

        player.useDiplomacyPoints(1);
        Relation relationTo   = player.getRelationToThisPlayer(target);
        Relation relationFrom = player.getRelationFromThisPlayer(target);

        relationTo.adjustAttude(-5);
        relationFrom.adjustAttude(-5);
        player.adjustReputation(-5);
    }
コード例 #2
0
ファイル: Relation.cs プロジェクト: alabecki/Imperial-Times
 public void addCasusBelli(WarClaim claim)
 {
     claim.toggleActive();
     this.CasusBelli.Add(claim);
 }