Flood
Enemy wall: -N
N = 45 - #Enemy bricks
Enemy bricks: -45
Cost (B / G / R)
0 / 20 / 0
BB code
Effect
Enemy wall: -N
N = 45 - #Enemy bricks
Enemy bricks: -45
Code
$lowered = $t->hisData()->Bricks - max($t->hisData()->Bricks - 45, 0);
$t->hisData()->addBricks(-$lowered)->addWall(-(45 - $lowered));