Ocean queen
Attack: 40
If last card played was an Aqua
Bonus attack based on card rarity (C-10, U-25, R-50)
Cost (B / G / R)
0 / 20 / 20
BB code
Effect
Attack: 40
If last card played was an Aqua
Bonus attack based on card rarity (C-10, U-25, R-50)
Code
if ($t->myLastCard()->hasKeyword('Aqua') && $t->myLastAction() == 'play') {
$dmg = ['Common' => 10, 'Uncommon' => 25, 'Rare' => 50];
$bonus = $dmg[$t->myLastCard()->getRarity()];
}
else {
$bonus = 0;
}
$t->hisData()->attack(40 + $bonus);