Shrine
If Wall is divisible by 5
Wall: +9
Gems: +4
else
Wall: +4
Cost (B / G / R)
2 / 1 / 0
BB code
Effect
If Wall is divisible by 5
Wall: +9
Gems: +4
else
Wall: +4
Code
if (($t->myData()->Wall % 5) == 0) {
$t->myData()->addWall(9)->addGems(4);
}
else {
$t->myData()->addWall(4);
}