[[Korea]]
<div class="write_type1">
<!-- 模拟器 -->
<section class="wrap_mytraining">
<div class="trWrap" id="trainingWrap"><div class="header"><span class="job">拳师</span><span class="level select_level"><strong>50</strong>等级<span class="btn_level"></span><ul class="ly_level" style="display: none;"><li>15</li><li>16</li><li>17</li><li>18</li><li>19</li><li>20</li><li>21</li><li>22</li><li>23</li><li>24</li><li>25</li><li>26</li><li>27</li><li>28</li><li>29</li><li>30</li><li>31</li><li>32</li><li>33</li><li>34</li><li>35</li><li>36</li><li>37</li><li>38</li><li>39</li><li>40</li><li>41</li><li>42</li><li>43</li><li>44</li><li>45</li><li>46</li><li>47</li><li>48</li><li>49</li><li>50</li></ul></span><span class="mastery_level select_level" style="cursor: pointer;">洪门/魔道等级<strong>10</strong>级<span class="btn_level"></span><ul class="ly_level" style="display: none;"><li>0</li><li>1</li><li>2</li><li>3</li><li>4</li><li>5</li><li>6</li><li>7</li><li>8</li><li>9</li><li>10</li></ul></span></div><div class="categoryWrap"><div class="trSearchWrap"><span class="placeholder">검색하기</span><input type="text" id="searchInputText"><span class="del" style="display: none;"></span></div><div class="bgt"></div><div class="categoryBody"><div class="scrollCategoryBody" style="position: relative; top: -217px;"><dl><dt><strong>LB</strong></dt><dd><ul><li class=""><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_14.png"></span><em class="name">正拳</em><span class="cmdkey key_LB">LB</span><span class="frame"></span><span class="point"></span></li><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_17.png"></span><em class="name single">昆仑震</em><span class="cmdkey key_LB">LB</span><span class="frame"></span><span class="point"></span></li><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_50.png"></span><em class="name single">连击</em><span class="cmdkey key_LB">LB</span><span class="frame"></span><span class="point"></span></li><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_18.png"></span><em class="name single">穿云脚</em><span class="cmdkey key_LB">LB</span><span class="frame"></span><span class="point"></span></li><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_19.png"></span><em class="name single">龙叩首</em><span class="cmdkey key_LB">LB</span><span class="frame"></span><span class="point"></span></li><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_48.png"></span><em class="name single">流星赶月</em><span class="cmdkey key_LB">LB</span><span class="frame"></span><span class="point"></span></li><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_1_13.png"></span><em class="name single">飞燕脚</em><span class="cmdkey key_LB">LB</span><span class="frame"></span><span class="point"></span></li></ul></dd></dl><dl><dt><strong>RB</strong></dt><dd><ul><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_62.png"></span><em class="name single">迅步拳</em><span class="cmdkey key_RB">RB</span><span class="frame"></span><span class="point"></span></li><li class="disable"><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_1_40.png"></span><em class="name">霸天拳舞</em><span class="cmdkey key_RB">RB</span><span class="frame"></span><span class="point"></span></li><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_16.png"></span><em class="name">连环腿</em><span class="cmdkey key_RB">RB</span><span class="frame"></span><span class="point"></span></li><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_4.png"></span><em class="name single">朝天蹬</em><span class="cmdkey key_RB">RB</span><span class="frame"></span><span class="point"></span></li><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_1_43.png"></span><em class="name">冲锋拳</em><span class="cmdkey key_RB">RB</span><span class="frame"></span><span class="point"></span></li></ul></dd></dl><dl><dt><strong>F</strong></dt><dd><ul><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_1_42.png"></span><em class="name">回天脚</em><span class="cmdkey key_F">F</span><span class="frame"></span><span class="point"></span></li><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_1_20.png"></span><em class="name">翔龙探海</em><span class="cmdkey key_F">F</span><span class="frame"></span><span class="point"></span></li><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_46.png"></span><em class="name">升龙拳</em><span class="cmdkey key_F">F</span><span class="frame"></span><span class="point"></span></li><li class="selected"><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_2.png"></span><em class="name">铁山靠</em><span class="cmdkey key_F">F</span><span class="frame"></span><span class="point"></span></li><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_44.png"></span><em class="name single">崩劲拳</em><span class="cmdkey key_F">F</span><span class="frame"></span><span class="point"></span></li><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_1_10.png"></span><em class="name single">后滚翻</em><span class="cmdkey key_F">F</span><span class="frame"></span><span class="point"></span></li><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_43.png"></span><em class="name single">神龙摆尾</em><span class="cmdkey key_F">F</span><span class="frame"></span><span class="point"></span></li></ul></dd></dl><dl><dt><strong>TAB</strong></dt><dd><ul><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_6.png"></span><em class="name">擒拿</em><span class="cmdkey key_TAB">TAB</span><span class="frame"></span><span class="point"></span></li><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_47.png"></span><em class="name single">摘星手</em><span class="cmdkey key_TAB">TAB</span><span class="frame"></span><span class="point"></span></li><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_13.png"></span><em class="name">天来跃</em><span class="cmdkey key_TAB">TAB</span><span class="frame"></span><span class="point"></span></li><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_10.png"></span><em class="name single">강습</em><span class="cmdkey key_TAB">TAB</span><span class="frame"></span><span class="point"></span></li><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_1_18.png"></span><em class="name">탈출</em><span class="cmdkey key_TAB">TAB</span><span class="frame"></span><span class="point"></span></li></ul></dd></dl><dl><dt><strong>1</strong></dt><dd><ul><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_1.png"></span><em class="name">반격</em><span class="cmdkey key_1">1</span><span class="frame"></span><span class="point"></span></li><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_12.png"></span><em class="name single">박치기</em><span class="cmdkey key_1">1</span><span class="frame"></span><span class="point"></span></li><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_58.png"></span><em class="name single">회전차기</em><span class="cmdkey key_1">1</span><span class="frame"></span><span class="point"></span></li><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_1_14.png"></span><em class="name single">발차기</em><span class="cmdkey key_1">1</span><span class="frame"></span><span class="point"></span></li></ul></dd></dl><dl><dt><strong>2</strong></dt><dd><ul><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_41.png"></span><em class="name">폭권</em><span class="cmdkey key_2">2</span><span class="frame"></span><span class="point"></span></li><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_57.png"></span><em class="name single">반달차기</em><span class="cmdkey key_2">2</span><span class="frame"></span><span class="point"></span></li><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_56.png"></span><em class="name single">묵사발</em><span class="cmdkey key_2">2</span><span class="frame"></span><span class="point"></span></li><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_1_21.png"></span><em class="name single">비상격</em><span class="cmdkey key_2">2</span><span class="frame"></span><span class="point"></span></li></ul></dd></dl><dl><dt><strong>3</strong></dt><dd><ul><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_5.png"></span><em class="name">다리걸기</em><span class="cmdkey key_3">3</span><span class="frame"></span><span class="point"></span></li><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_53.png"></span><em class="name single">조르기</em><span class="cmdkey key_3">3</span><span class="frame"></span><span class="point"></span></li><li class="disable"><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_1_45.png"></span><em class="name">열화각</em><span class="cmdkey key_3">3</span><span class="frame"></span><span class="point"></span></li><li class="disable"><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_1_41.png"></span><em class="name">발목강타</em><span class="cmdkey key_3">3</span><span class="frame"></span><span class="point"></span></li></ul></dd></dl><dl><dt><strong>4</strong></dt><dd><ul><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_21.png"></span><em class="name">붕권</em><span class="cmdkey key_4">4</span><span class="frame"></span><span class="point"></span></li><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_9.png"></span><em class="name single">팔꺾기</em><span class="cmdkey key_4">4</span><span class="frame"></span><span class="point"></span></li><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_1_36.png"></span><em class="name single">돌려차기</em><span class="cmdkey key_4">4</span><span class="frame"></span><span class="point"></span></li></ul></dd></dl><dl><dt><strong>Z</strong></dt><dd><ul><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_38.png"></span><em class="name">승룡각</em><span class="cmdkey key_Z">Z</span><span class="frame"></span><span class="point"></span></li></ul></dd></dl><dl><dt><strong>X</strong></dt><dd><ul><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_1_24.png"></span><em class="name single">통배권</em><span class="cmdkey key_X">X</span><span class="frame"></span><span class="point"></span></li><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/buff_debuff_icon_01_38.png"></span><em class="name">점혈</em><span class="cmdkey key_X">X</span><span class="frame"></span><span class="point"></span></li></ul></dd></dl><dl><dt><strong>C</strong></dt><dd><ul><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_49.png"></span><em class="name">권무</em><span class="cmdkey key_C">C</span><span class="frame"></span><span class="point"></span></li></ul></dd></dl><dl><dt><strong>V</strong></dt><dd><ul><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_25.png"></span><em class="name">산사태</em><span class="cmdkey key_V">V</span><span class="frame"></span><span class="point"></span></li></ul></dd></dl><dl><dt><strong>Q</strong></dt><dd><ul><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_24.png"></span><em class="name">횡이동</em><span class="cmdkey key_Q">Q</span><span class="frame"></span><span class="point"></span></li></ul></dd></dl><dl><dt><strong>E</strong></dt><dd><ul><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/buff_debuff_icon_00_29.png"></span><em class="name">파고들기</em><span class="cmdkey key_E">E</span><span class="frame"></span><span class="point"></span></li></ul></dd></dl><dl><dt><strong>S</strong></dt><dd><ul><li><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_1_2.png"></span><em class="name">후방이동</em><span class="cmdkey key_S">S</span><span class="frame"></span><span class="point"></span></li></ul></dd></dl></div></div><div class="bgb"></div><div class="menuWrap"><span class="sorting_cmdkey selected">발동키순</span><span class="sorting_level">레벨순</span><span class="sorting_stance">자세순</span><span class="sorting_name">이름순</span></div></div><div class="treeWrap"><div class="tree_tp"><span class="consumed_tp">0</span> / <span class="total_tp">46</span></div><p class="only" style="display: none;"><em></em> </p><div class="tree_cols3"><div class="tree_arrow"><span class="arrow"><span class="end" style="left: 179px; top: 293px;"></span><span class="h" style="display: none;"></span><span class="v" style="top: 285px; left: 182px; width: 5px; height: 8px;"></span></span><span class="arrow"><span class="end" style="left: 104px; top: 293px;"></span><span class="h" style="display: none;"></span><span class="v" style="top: 285px; left: 107px; width: 5px; height: 8px;"></span></span><span class="arrow"><span class="end" style="left: 29px; top: 293px;"></span><span class="h" style="display: none;"></span><span class="v" style="top: 285px; left: 32px; width: 5px; height: 8px;"></span></span><span class="arrow"><span class="end" style="left: 179px; top: 218px;"></span><span class="h" style="display: none;"></span><span class="v" style="top: 210px; left: 182px; width: 5px; height: 8px;"></span></span><span class="arrow"><span class="end" style="left: 104px; top: 218px;"></span><span class="h" style="display: none;"></span><span class="v" style="top: 210px; left: 107px; width: 5px; height: 8px;"></span></span><span class="arrow"><span class="end" style="left: 29px; top: 218px;"></span><span class="h" style="display: none;"></span><span class="v" style="top: 210px; left: 32px; width: 5px; height: 8px;"></span></span><span class="arrow"><span class="end" style="top: 143px; left: 179px;"></span><span class="h" style="height: 5px; top: 143px; left: 32px; width: 150px;"></span><span class="v" style="top: 60px; left: 32px; width: 5px; height: 83px;"></span></span><span class="arrow"><span class="end" style="top: 143px; left: 104px;"></span><span class="h" style="height: 5px; top: 143px; left: 32px; width: 75px;"></span><span class="v" style="top: 60px; left: 32px; width: 5px; height: 83px;"></span></span><span class="arrow"><span class="end" style="left: 29px; top: 143px;"></span><span class="h" style="display: none;"></span><span class="v" style="top: 60px; left: 32px; width: 5px; height: 83px;"></span></span></div><div class="slot_11"><div class="slot plus" style="cursor: pointer;"><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_2.png"></span><span class="frame"></span><span class="hover"></span><span class="step">0/1</span></div></div><div class="slot_31"><div class="slot"><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_2.png"></span><span class="frame"></span><span class="hover"></span><span class="step">0/1</span></div></div><div class="slot_32"><div class="slot"><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_1_36.png"></span><span class="frame"></span><span class="hover"></span><span class="step">0/1</span></div></div><div class="slot_33"><div class="slot"><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_2.png"></span><span class="frame"></span><span class="hover"></span><span class="step">0/1</span></div></div><div class="slot_41"><div class="slot"><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_2.png"></span><span class="frame"></span><span class="hover"></span><span class="step">0/1</span></div></div><div class="slot_42"><div class="slot"><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_2.png"></span><span class="frame"></span><span class="hover"></span><span class="step">0/1</span></div></div><div class="slot_43"><div class="slot"><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_2.png"></span><span class="frame"></span><span class="hover"></span><span class="step">0/1</span></div></div><div class="slot_51"><div class="slot elite_legend"><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_46.png"></span><span class="frame"></span><span class="hover"></span><span class="step">0/1</span></div></div><div class="slot_52"><div class="slot elite_legend"><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_2.png"></span><span class="frame"></span><span class="hover"></span><span class="step">0/1</span></div></div><div class="slot_53"><div class="slot elite_legend"><span class="thumb"><img src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_2.png"></span><span class="frame"></span><span class="hover"></span><span class="step">0/1</span></div></div></div></div><div class="tooltipWrap"><div class="tooltip"><section><p class="consumed_sp">内力消耗 3</p><dl><dt class="name">铁山靠<span class="matrix"></span></dt><dd class="thumb"><img class="icon" src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/skill/skill_icon_kungfufighter_0_2.png"><span class="frame"></span></dd><dd class="main_info"><p class="main_info1">击退5米并虚弱2秒</p><p class="main_info2">18~21伤害</p></dd><dd class="sub_info"></dd></dl><div class="skill_info" style="display: block;"><ul><li class="meter"><em>距离</em><div class="">自身中心</div></li><li class="range_1"><em>范围</em><div class="">2X3m</div></li><li class="casting_time"><em>施法</em><div>立即</div></li><li class="recycle_time"><em>冷却</em><div class="">6秒</div></li></ul></div><div class="skill_acquire" style="display: block;"><dl><dt>使用条件</dt><dd><img class="icon_in_description" src="http://static.plaync.co.kr/powerbook/bns/ui_resource/skill/skill_icon_kungfufighter_1_7.png"> 反击武功后  </dd></dl></div><div class="skill_acquire" style="display: none;"><dl><dt>자세전환</dt><dd></dd></dl></div><div class="skill_acquire" style="display: none;"><strong class="elit_skill_name">"전설로만 전해지는 홍문비전이라 찾을 수 없다."</strong><dl><dt></dt><dd></dd></dl></div><footer></footer></section></div></div></div>
<link href="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/css/training2.css" type="text/css" rel="stylesheet">

<script src="http://res.766.olcdn.com/huodong/2013/bns/mnq0319/js/training.min.js"></script>
<!--<script src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/js/category_data_KF.js"></script>-->
<script src="http://res.766.olcdn.com/huodong/2013/bns/mnq0319/js/category_data_KF.js"></script>
<script src="http://res.766.olcdn.com/huodong/2013/bns/mnq0319/js/slot_data_KF.js"></script>
<script src="http://res.766.olcdn.com/huodong/2013/bns/mnq0319/js/skill_data_KF.js"></script>
<!--<script src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/js/slot_data_KF.js"></script>
<script src="http://res.766.olcdn.com/huodong/2013/bns/mnq1031/js/skill_data_KF.js"></script>-->
<script src="http://res.766.olcdn.com/huodong/2013/bns/mnq0319/js/data_skill-tooltip.js"></script>
<script src="http://res.766.olcdn.com/huodong/2013/bns/mnq0319/js/data_skill-tooltip-attribute.js"></script>
<script style="color: rgb(0, 0, 0);" type="text/javascript" src="http://js.olcdn.com/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript">
    var _training;

    (function($) {
        $(document).ready(function() {
            _training = new nc.bns.training.Training({
                containerSelector:".trWrap",
                level: 50,
                masteryLevel: 4,
                job: "KF",
                masteryTitle: "洪门/魔道等级",
                maxLevel: 50,
                editable : false
            });

            _training.loadGetJsonData("{\"character_level\" : 50, \"character_mastery_level\" : 4, \"character_job\" : \"KF\", \"json_slot_data\" : {\"25000\" : \"16\", \"25001\" : \"16\", \"25002\" : \"16\", \"25003\" : \"14\", \"25005\" : \"11\", \"25006\" : \"43\", \"25007\" : \"32\", \"25008\" : \"11\", \"25009\" : \"14\", \"25010\" : \"22\", \"25013\" : \"12\", \"25016\" : \"13\", \"25019\" : \"12\", \"25120\" : \"23\", \"25214\" : \"12\"}}");
        });
    })(jQuery);

    function ExportSkillToGame() {
        var obj = _training.getSendDataObj();

        jQuery.ajax( {
            type : "GET",
            cache : false,
            url : '/bnstr2/board/ajax_slot_data_to_xml',
            data : {
                'job'				: "KF"
                , 'major_version'	: 1								, 'minor_version'	: 1								, 'level'			: obj["character_level"]
                , 'mastery_level'	: obj["character_mastery_level"]
                , 'slot_data'		: objToJSONString(obj["json_slot_data"])
            },
            success : function(data) {
                if(data.result) {
                    location.href = 'nc://bns.SkillPowerBook/ExportSkillToGame?xml='+data.xml_string;
                } else {
                    var error_message;
                    if(data.error_message) {
                        error_message = data.error_message;
                        alert(error_message);
                    }
                }
            },
            error : function(data) {
            }
        });
    }
</script>
<script type="text/javascript">
var _training;

(function($) {
    $(document).ready(function() {
        if(String.prototype.trim == null)
            String.prototype.trim=function(){return this.replace(/^\s*/,"").replace(/\s*$/,"");}

        var writeform = $("#writeForm");
        var category = $("#writeForm").find("input[name='category'][checked='checked']");
        var subject = $("#writeForm").find("input[name='title']");
        var textarea = $("#writeForm").find("textarea[name='text_body']");

        Board.Ui.PlaceHolder.init(subject,subject.attr('title'));
        Board.Ui.RealtimeLength.init(subject,50);
        Board.Ui.PlaceHolder.init(textarea,textarea.attr('title'));
        Board.Ui.RealtimeLength.init(textarea,5000);

        var validator = function(){
            var textarea_val = $(textarea).val();
            var _textarea = $(textarea).val();
            _textarea = _textarea.replace("\n","");
            _textarea = _textarea.replace("\r","");
            _textarea = _textarea.replace("\r\n","");
            _textarea = _textarea.trim();
            var subject_val = $(subject).val();
            var category = $("#writeForm").find("input[name='category'][checked='checked']");
            if( $(category).val()==0 ) {
                custom_alert('구분을 선택해주세요.');
                $(category).focus();
                return false;
            }else if( $(subject).val().trim()=='' || $(subject).val().trim() == $(subject).attr("title") ){
                custom_alert( $(subject).attr("title") );
                subject.focus();
                return false;
            }else if( $(subject).val().trim().length &gt; $(subject).attr("maxlength") ){
                custom_alert('제목을 50자 이내로 입력해 주세요.');
                $(subject).val( subject_val.substring(0,$(subject).attr("maxlength")) );
                subject.focus();
                return false;
            }else if(_textarea=='' || _textarea == $(textarea).attr("title")){
                custom_alert( $(textarea).attr("title") );
                textarea.focus();
                return false;
            }else if( $(textarea).val().trim().length &gt; $(textarea).attr("maxlength") ){
                custom_alert('5000자 이내로 입력해 주세요.');
                $(textarea).val( textarea_val.substring(0,$(textarea).attr("maxlength")));
                textarea.focus();
                return false;
            }else{
                return true;
            }
        }

        _training = new nc.bns.training.Training({
            containerSelector:".trWrap",
            level: 50,
            masteryLevel: 10,
            job: "KF",
            masteryTitle: "洪门/魔道等级",
            maxLevel: 50							});


        //reset button
        var _$resetSkillBtn = $("#resetSkill");
        var _$resetAllSkillBtn = $("#resetAllSkill");

        $("#get_data_controll").click(function(){				// 내 수련정보 가져오기
            $.ajax( {
                type : "GET"
                , cache : false
                , url : '/bnstr2/board/ajax_current_character_replication'
                , data : {
                    "world_id"			: 2													, "character_name"	: "oO검도어Oo"
                    , "current_job"		: "KF"
                }
                , success : function(data) {
                    if(data.result) {
                        if("KF" != data.character_job) {
                            custom_alert('캐릭터의 직업이 일치하지 않아 수련정보를 가져올 수 없습니다.');
                            return;
                        } else {
                            var ajaxObj = {};

                            ajaxObj["character_level"]			= MY_LEVEL			= data.character_level;
                            ajaxObj["character_mastery_level"]	= MY_MASTERY_LEVEL	= data.character_mastery_level;
                            ajaxObj["character_job"]			= MY_JOB			= data.character_job;
                            ajaxObj["json_slot_data"]			= MY_SLOT_DATA		= data.json_slot_data;
                            //custom_alert(objToJSONString(ajaxObj));
                            _training.loadGetJsonData(objToJSONString(ajaxObj));
                        }
                    } else {
                        var error_message;
                        if(data.error_message) {
                            error_message = data.error_message;
                            alert(error_message);
                        }
                    }
                }
                , error : function(jqXHR, textStatus, errorThrown) {
                    //alert(jqXHR.responseText);
                    if ( jqXHR.status == 0 ) {
                        alert("You are offline!\nPlease Check Your Network.");
                    } else if ( jqXHR.status == 404 ) {
                        alert("Requested URL not found.");
                    } else if ( jqXHR.status == 500 ) {
                        alert("Internel Server Error.");
                    } else if ( textStatus == "parsererror" ) {
                        alert("Error.\nParsing JSON Request failed.");
                    } else if ( textStatus == "timeout" ) {
                        alert("Request Time Out.");
                    } else {
                        alert("Unknow Error.\n"+jqXHR.responseText);
                    }
                }
            });

            return false;
        });

        $(subject).keydown(function(e) {
            if( e.keyCode == '13' )
                return false;
        });

        $("#btn_save").click(function() {			// 등록
            var obj = _training.getSendDataObj();

            //console.log("obj :", obj);
            $("input[name='level']").val(obj["character_level"]);
            $("input[name='mastery_level']").val(obj["character_mastery_level"]);
            $("input[name='slot_data']").val(objToJSONString(obj));

            //console.log("objStr :", objToJSONString(obj));
            //return false;

            if(objToJSONString(obj["json_slot_data"]) == "{}") {
                custom_alert("未进行天赋修炼");
                return false;
            }

            if(validator()) {
                var Formdata=$("#writeForm").serialize();
                $.ajax({
                    type:"POST",
                    url:"/bns/index.php/ntalent/addtalent",
                    data:Formdata,
                    success:function(e){
                        var msg=eval('('+e+')');
                        switch(msg.msg){
                            case '0':
                                alert("天赋添加失败");
                                break;
                            case '1':
                                prompt("您的天赋已经保存成功,复制下面的地址,分享给你的小伙伴们吧。", msg.url);
                                break;
                            case '2':
                                alert("您还未登录,请登录后再提交天赋");;
                                break;
                            case '3':
                                alert("登录过期请重新登录");;
                                break;

                        }
                    }
                })
            } else {
                return false;
            }
        });

        $("#btn_cancel").click(function(){				// 취소
            history.back();
            return false;
        });
    });
})(jQuery);

function getData() {
    $("#get_data_controll").click();
}

function ImportSkillFromGame(xml_str) {
    jQuery.ajax( {
        type : "GET",
        cache : false,
        url : '/bnstr2/board/ajax_xml_to_slotdata',
        data : 'xml_str='+xml_str,
        success : function(data) {
            if(data.result) {
                if("KF" != data.character_job) {
                    custom_alert('캐릭터의 직업이 일치하지 않아 수련정보를 가져올 수 없습니다.');
                    return;
                } else {
                    var ajaxObj = {};

                    ajaxObj["character_level"]			= MY_LEVEL			= data.character_level;
                    ajaxObj["character_mastery_level"]	= MY_MASTERY_LEVEL	= data.character_mastery_level;
                    ajaxObj["character_job"]			= MY_JOB			= data.character_job;

                    ajaxObj["json_slot_data"]			= MY_SLOT_DATA		= data.json_slot_data;

                    //custom_alert(objToJSONString(ajaxObj));
                    _training.loadGetJsonData(objToJSONString(ajaxObj));
                    return;
                }
            } else {
                var error_message;
                if(data.error_message) {
                    error_message = data.error_message;
                    alert(error_message);
                }
            }
        },
        error : function(data) {
        }
    });
}

function ExportSkillToGame() {
    var obj = _training.getSendDataObj();

    jQuery.ajax( {
        type : "GET",
        cache : false,
        url : '/bnstr2/board/ajax_slot_data_to_xml',
        data : {
            'job'				: "KF"
            , 'major_version'	: 1								, 'minor_version'	: 1								, 'level'			: obj["character_level"]
            , 'mastery_level'	: obj["character_mastery_level"]
            , 'slot_data'		: objToJSONString(obj["json_slot_data"])
        },
        success : function(data) {
            if(data.result) {
                location.href = 'nc://bns.SkillPowerBook/ExportSkillToGame?xml='+data.xml_string;
            } else {
                var error_message;
                if(data.error_message) {
                    error_message = data.error_message;
                    alert(error_message);
                }
            }
        },
        error : function(data) {
        }
    });
}
</script>


</section>
<!-- 模拟器 -->
<div id="get_data_controll" style="width: 0px; height: 0px;"></div>
<div class="wrap_viewBtn">
    <a id="btn_reset_all" class="btn_reset_all" onclick="custom_confirm('确定要初始化全部修炼吗?', '_training.resetAllSkill()'); return false;" href="http://bns.training.plaync.com/bnstr2/board/write_form?job=KF#"><span>初始化全部修炼</span></a>
</div>
<!--
<textarea name="asdf" id="asdf" style="width:600px;height:300px"></textarea>
 -->
<div class="write_form">
    <input type="hidden" value="1" name="version">
    <dl class="subject">
        <dt>标题</dt>
        <dd>
            <menu class="viewSelect">
                <li class="category selected">
                    <span class="lyBtn" id="btn_category_sim">副本</span>
                    <div class="lySelect" id="ly_category_sim" style="display: none;">
                        <ul class="list">

                            <li class="selected"><label><input type="radio" checked="checked" value="1" name="category[]">副本</label></li>
                            <li><label><input type="radio" value="2" name="category[]">练级</label></li>
                            <li><label><input type="radio" value="3" name="category[]">PvP</label></li>
                            <li><label><input type="radio" value="4" name="category[]">其他</label></li>
                        </ul>
                    </div>
                </li>
            </menu>
            <div class="title"><input type="text" size="60" maxlength="50" name="title" title="请输入标题." id="title" style="color: rgb(153, 153, 153);"></div>
        </dd>
    </dl>
    <dl class="textarea">
        <dt>内容</dt>
        <dd><div class="text"><textarea maxlength="5000" name="text_body" rows="5" cols="80" title="请填写个人天赋修炼的内容说明……" id="text_body" style="color: rgb(153, 153, 153);"></textarea></div></dd>
    </dl>
</div>
<div class="wrap_viewBtn">
    <!--http://bns.training.plaync.com/bnstr2/board/write_form?job=AS#-->
    <a href="javascript:void(0)" class="btn_save" id="btn_save"><span>提交</span></a>
</div>
</div>
 
**コメント[#d2ejf2gd]
#pcomment

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS