PR

【7/26】ガチャ更新マージ #3601

wada opened this at 2024-07-18T19:07:32; closed

Description

opened by wada at 2024-07-18T19:07:32; updated 2024-08-06T17:55:02

概要

8014【5/28】ジューンブライドガチャ で交換所が追加されるため、
更新内容が多くならないよう、それまでのガチャ系PRをマージ

マージ内容

ガチャページの画像ファイル名を変更
今後のコンフリクトを回避するため、SPGachaのデフォルトTplファイルを以下のように変更

Bar-SPGacha.tpl > Bar-SPGachaYamada.tpl

マージPR

  • 7173【9/8UP】季節ガチャの画像名変更とテンプレパーツ化

special_gachaの更新

  • 7193【9/15】ハロウィンコレクション(復刻含む)

経験値アイテム追加

  • 7279【10/15】ヴィゴ祭り

ピックアップガチャにカードモーダル設置

  • 7389【11/11】クリスマスガチャ

SPガチャのテンプレート調整

  • 7430【即日】クリスマスガチャのラインナップページにページ送りをつける
  • 7645【2/9】復刻・2021温泉街ガチャ

転生カード、セットアップガチャバナーファイル名変更

TODO

ドリンクの獲得状況をカウントアップかダウンか

Comment

#35671 by wada at 2024-07-18T19:08:01; updated 2024-07-18T19:08:01

@kouho
レビューお願いします。

Comment

#35803 by kouho at 2024-07-25T15:46:00; updated 2024-07-25T15:46:00

@wada
本家のガチャ更新の取り入れ自体は問題なさそうですが、
Bar-SPGachaYamada.tplテンプレートファイルの以下を確認・修正お願いいたします。

①モーダルを閉じる対応を強化アイテムやドリンクの数に縛られないように(Bar-SPGacha_424.tplで対応したもの)

$('#explanation_charaDrink1').hide();
$('#explanation_charaDrink2').hide();
....
$('#explanation_charaDrink8').hide();

⇒ $('[id^=explanation_charaDrink]').hide();

$('#explanation_charaItem1').hide();
...
$('#explanation_charaItem4').hide();

⇒ $('[id^=explanation_charaItem]').hide();

②カード詳細の虫眼鏡モーダルがタッチしても開かないです。

③スキル詳細モーダルを開いた際のデモリンクがなくなっていました。

kouho add_label at 2024-07-25T15:46:47: コメントあり

Comment

#35817 by wada at 2024-07-25T17:07:27; updated 2024-07-25T17:07:27

@kouho
確認ありがとうございます。
Bar-SPGachaYamada.tplは基本的な処理はBar-SPGacha.tplのままなので、ガチャごとに個別対応したようなものは今回のPRには含まれていません。
個別対応の統合は、本マージPRでは対応を予定していません。

> ①モーダルを閉じる対応を強化アイテムやドリンクの数に縛られないように(Bar-SPGacha_424.tplで対応したもの)

Bar-SPGachaYamada.tplは、Bar-SPGacha.tplをコピーして最低限のマージを行っただけなので、ガチャごとに個別対応した処理は含まれていません。
どの処理が必要か判断できないので、マージ後に別途対応してもらえると助かります。

> ②カード詳細の虫眼鏡モーダルがタッチしても開かないです。

モーダルパーツが重複していたため削除しました。

> ③スキル詳細モーダルを開いた際のデモリンクがなくなっていました。

もとのBar-SPGacha.tplで戦闘デモボタンが無かったため、そちらを優先してボタンを設置していません。

Comment

#35818 by kouho at 2024-07-25T17:17:42; updated 2024-07-25T17:17:42

@wada
Bar-SpGacha.tpl をコピーして最低限マージした旨かしこまりました。確認OKです。

kouho add_label at 2024-07-25T17:17:46: 皇甫 LGTM
kouho close at 2024-08-06T17:55:02: Close

Commit range

base82b512242609cf2a65640104a4038f5d628d3cef
head7e60eae44e198fa9669cf25848488a213895088b
base branchjolly/jr-web:master
head branchjolly/jr-web:merge_gacha

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed27 filesView patch
statusfile
modifiedcpanel_html/template/m_special_gacha_img.tpl
modifiedlib/SubFunc.inc
modifiedlib/class/const/ItemConst.class.php
modifiedlib/conf/class/SPGachaConfig.class.php
modifiedlib/conf/class/SpecialGachaConfig.class.php
modifiedlib/conf/define.inc
modifiedlib/cpanel/m_special_gacha_img.inc
modifiedlib/public/Bar-PickupGacha.inc
modifiedlib/public/Bar-SPGacha.inc
modifiedlib/public/Bar-SPGachaCheck.inc
modifiedlib/public/Bar-SPGachaList.inc
modifiedlib/public/Bar-SpecialGacha.inc
modifiedlib/public/Bar-SpecialGachaCheck.inc
modifiedlib/public/Card-ExpItem.inc
modifiedpublic_html/template/Bar-Default.tpl
modifiedpublic_html/template/Bar-PickupGachaSP.tpl
modifiedpublic_html/template/Bar-SPGacha.tpl
modifiedpublic_html/template/Bar-SPGachaCheck.tpl
modifiedpublic_html/template/Bar-SPGachaList2.tpl
modifiedpublic_html/template/Bar-SPGachaRatio.tpl
addedpublic_html/template/Bar-SPGachaReprint.tpl
modifiedpublic_html/template/Bar-SPGachaResult.tpl
addedpublic_html/template/Bar-SPGachaYamada.tpl
modifiedpublic_html/template/Bar-SpecialGacha_Default.tpl
modifiedpublic_html/template/Bar-SpecialGacha_Reprint.tpl
modifiedpublic_html/template/Card-ListInput.tpl
addedpublic_html/template/parts_Bar-SpecialGacha.tpl
Patch body is stored as a separate file to keep this page lightweight.