MArcomage

Free multiplayer on-line fantasy card game

Please log in


0 U
Justice
Justice

Player(s) with lowest tower gains
Tower: +10
Player(s) with lowest wall gains
Wall: +10

Id
698
Name
Justice
Rarity
Uncommon
Keywords
Cost (B / G / R)
0 / 0 / 0
Modes
0
Level
10
Created
1. Jan, 2013
Modified
1. Jan, 2013
Played
1196 / 6456
Discarded
449 / 2132
Drawn
1879 / 9557

BB code

Effect

Player(s) with lowest tower gains
Tower: +10
Player(s) with lowest wall gains
Wall: +10

Code

    $my_tower = $t->myData()->Tower;
    $my_wall = $t->myData()->Wall;
    $his_tower = $t->hisData()->Tower;
    $his_wall = $t->hisData()->Wall;
    if ($my_tower <= $his_tower) {
      $t->myData()->addTower(10);
    }
    if ($my_wall <= $his_wall) {
      $t->myData()->addWall(10);
    }
    if ($my_tower >= $his_tower) {
      $t->hisData()->addTower(10);
    }
    if ($my_wall >= $his_wall) {
      $t->hisData()->addWall(10);
    }