'use strict'; play.coin={ init:function(){ if(lib.config.mode!='chess'||get.config('chess_mode')!='leader'){ _status.coin=0; } }, arenaReady:function(){ if(_status.video) return; if(lib.config.mode!='chess'||get.config('chess_mode')!='leader'){ var str; if(lib.config.coin_display_playpackconfig=='text'){ str=''+lib.config.coin+'' } else{ str=''+lib.config.coin+''; } ui.coin=ui.create.system(str,null,true); } }, game:{ changeCoin:function(num){ if(typeof num=='number'&&ui.coin){ game.saveConfig('coin',lib.config.coin+num); var str; if(lib.config.coin_display_playpackconfig=='text'){ str=''+lib.config.coin+'' } else{ str=''+lib.config.coin+''; } ui.coin.innerHTML=str; } }, }, help:{ '富甲天下':'