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