Ejemplo n.º 1
0
function rewardBounty($bounty_to, $bounty_on)
{
    global $sql;
    $bounty = getBounty($bounty_on);
    setBounty($bounty_on, 0);
    //Sets bounty to zero.
    addGold($bounty_to, $bounty);
    return $bounty;
}
Ejemplo n.º 2
0
function rewardBounty($bounty_to, $bounty_on)
{
    $bounty = getBounty($bounty_on);
    setBounty($bounty_on, 0);
    //Sets bounty to zero.
    add_gold($bounty_to, $bounty);
    return $bounty;
}