MArcomage

Free multiplayer on-line fantasy card game

Please log in

Keywords > Runic

Icon

Runic

Effect

Reconstruction - if Tower or Wall was damaged during opponent's last round, Tower or Wall is raised based on played card rarity (C-2, U-5, R-10). Tower or Wall increase can't exceed the damage which was inflicted on Tower or Wall.

Lore

Dwarves are well known for their technological superiority, mining and weapon forging. Additionally, they have rune magic at their disposal. Dwarven country is called the Runic league which is ruled by the Mountain king. Dwarven society consists of common folk, noble houses and the Runic circle. The Runic circle supervises the usage of rune magic and thus is powerful and influential. The dwarves are a defensive faction. They prefer to stay safely behind their strong fortifications.

Technological dominance and rune magic allows the dwarves to construct sturdy fortifications that can be repaired very quickly and efficiently.

Code

    $rarities = ['Common' => 2, 'Uncommon' => 5, 'Rare' => 10];
    $factor = $rarities[$t->card()->getRarity()];
    if ($t->myChange('Tower') < 0) {
      $tower_damage = $t->myChange('Tower') * (-1);
      $t->myData()->addTower(min($tower_damage, $factor));
    }
    if ($t->myChange('Wall') < 0) {
      $wall_damage = $t->myChange('Wall') * (-1);
      $t->myData()->addWall(min($wall_damage, $factor));
    }