したらばTOP ■掲示板に戻る■ 全部 1-100 最新50 | メール | |

戦国IXA ツールスレPart49

79名無しさん:2024/03/16(土) 21:59:29 ID:gP.Mv2OE
(続き)
nowLoading();
Info.title('スキル道場 習得編 - IxaMoko');
var target_skill = !data.slv[idx] ? 'スキル空' : data.sname[idx] + 'LV' + data.slv[idx];
Info.log(data.card_name + ' の ' + target_skill + ' に ' + DOJO_SKILL[learn_skill_id] + 'LV10 をスキル追加合成をします');
sleep(1).then(function() {
Info.log('道場画面に遷移しています...');
$.ajax({
type: 'post',
url: '/union/dojo_learn.php',
data: {union_type: 10},
beforeSend: xrwStatusText,
}).then(function(html) {
var target_link = $(html).find('a[data-skill_id="' + learn_skill_id + '"]');
if (!target_link.length) {
Info.ng('道場画面に遷移できませんでした[不明なエラー]');
Info.title('異常終了');
sleep(1).then(() => location.reload(false));
return false;
}
if (target_link.attr('data-today_remain_count') == '0') {
Info.ng($(html).find('div.union_dojo_learn_count p').text() + ' です');
Info.title('異常終了');
sleep(1).then(() => location.reload(false));
return false;
}
Info.log('対象カードを選択しています...');
$.ajax({
type: 'post',
url: '/union/dojo_learn_select_card.php',
data: {
lineup_id: 4,
learn_skill_id,
},
beforeSend: xrwStatusText,
}).then(function(html) {
if (($(html).find('td.skill_name.skill_rare.f').text() || '').trim().split('LV')[0] != DOJO_SKILL[learn_skill_id]) {
Info.ng('対象カードを選択できませんでした[不明なエラー]');
Info.title('異常終了');
sleep(1).then(() => location.reload(false));
return false;
}
Info.log('習得確認画面に遷移しています...');
var obj_1 = PostData.learn(html),
obj_2 = {
base_cid: data.card_id,
target_sort,
union_type_dojo_learn_flg: 1,
lineup_id: 4,
learn_skill_id,
};
Object.assign(obj_1, obj_2);
(このまま続く)


新着レスの表示


名前: E-mail(省略可)

※書き込む際の注意事項はこちら

※画像アップローダーはこちら

(画像を表示できるのは「画像リンクのサムネイル表示」がオンの掲示板に限ります)

掲示板管理者へ連絡 無料レンタル掲示板