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