Comsenz Inc.'; var $magic = array(); var $parameters = array(); function getsetting(&$magic) { } function setsetting(&$magicnew, &$parameters) { } function usesubmit() { global $_G; $getmoney = rand(1, intval($this->magic['price'] * 1.5)); updatemembercount($_G['uid'], array($_G['setting']['creditstransextra'][3] => $getmoney), 1, 'MRC', $this->magic['magicid']); usemagic($this->magic['magicid'], $this->magic['num']); updatemagiclog($this->magic['magicid'], '2', '1', '0', 0, 'uid', $_G['uid']); showmessage('magics_credit_message', '', array('credit' => $_G['setting']['extcredits'][$_G['setting']['creditstransextra'][3]]['title'].' '.$getmoney.' '.$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][3]]['unit']), array('alert' => 'right', 'showdialog' => 1)); } function show() { magicshowtips(lang('magic/money', 'money_info')); } function buy() { } } ?>