Glacial temple
Magic: -1
Mode1:
Quarry: +1
Mode2:
Dungeon: +1
Cost (B / G / R)
0 / 0 / 0
BB code
Effect
Magic: -1
Mode1:
Quarry: +1
Mode2:
Dungeon: +1
Code
$t->myData()->addMagic(-1);
if ($t->mode() == 1) {
$t->myData()->addQuarry(1);
}
elseif ($t->mode() == 2) {
$t->myData()->addDungeons(1);
}