Location: PHPKode > projects > PhpBlock > A9.8/modules/dungeon/action/recruit/recruitminerork.class.php
<?php
include_once $PATH_TO_CODE."/modules/dungeon/action/abstractrecruitaction.class.php";

class RecruitMinerOrkAction extends DungeonAbstractRecruitAction {
    function __construct() {
        parent::__construct(DungeonConstante::$ACTION_BUILD_MINERORK, 
        DungeonConstante::$ACTION_BUY_MINER_ORK_COST, true);
    }

    public function create($locZone, $locPlayer) {
        $locManageAction = ManageAction::getInstance();
        $locResult = MinerOrk::create($locZone, $locPlayer->playerId);
        $locManageAction->addPlayerInfo("ork miner recruited");
        return $locResult;
    }
}
?>
Return current item: PhpBlock