Top > ダンジョンスペシャル > 基本ルール MainCommand
Functionsalert("Functions"); root.stack = []; root.list = []; root.command = {}; root.members = ["マリスター", "レイピア"]; root.func.updateList = function(xml){ root.list = []; $("item", xml).each(function(){ root.list.push($(this).text()); }); } root.func.loadSection = function(xml){ var items = $("item", xml); if(items){ items.each(function(){ root.list.push($(this).text()); }); } var jslogic = $("logic", xml); if(jslogic){ eval(jslogic); } } キャンプroot.list = root.members; 移動
|