MArcomage

Free multiplayer on-line fantasy card game

Please log in


42 42 R
Suzaku
Suzaku

Burning

Attack: 10N
N = sum of three highest facilities in game

Id
634
Name
Suzaku
Rarity
Rare
Keywords
Cost (B / G / R)
0 / 42 / 42
Modes
0
Level
9
Created
24. Apr, 2011
Modified
24. Dec, 2011
Played
492 / 2480
Discarded
268 / 1330
Drawn
1187 / 6085

BB code

Effect

Attack: 10N
N = sum of three highest facilities in game

Code

    $facilities = [$t->myData()->Quarry, $t->myData()->Magic, $t->myData()->Dungeons, $t->hisData()->Quarry, $t->hisData()->Magic, $t->hisData()->Dungeons];
    sort($facilities);
    $sum = 0;
    for ($i = 1; $i <= 3; $i++) {
      $val = array_pop($facilities);
      $sum+= $val;
    }
    $t->hisData()->attack(10 * $sum);