PR

【4/5】温泉街ガチャ #3436

kouho opened this at 2024-04-02T10:03:10; closed

Description

opened by kouho at 2024-04-02T10:03:10; updated 2024-04-04T11:39:33

概要

https://docs.google.com/spreadsheets/d/1j5Lz0Ot5wJnoRE41-HfvdB1CsU95D3XOqTEeUShXtMQ/edit#gid=198966341

今回変更点

  • [x] ドリンクが12種類
  • 転生用カード表示用対応(本家より移植)
  • [x] キャラの顔表示
  • [x] ステータス画像タップでの転生前と転生後切替
  • [x] 転生前と転生後の戦闘デモリンク
  • [x] スキル詳細modal内での転生前・転生後切り替え
  • [x] アルバムmodal内の表示
  • [x] ドリンク個数表示の変数化

※本家からの完全な移植ではなくヤマダゲーム版に合わせる + jsのコード削減を行っています。

TODO

  • [x] 告知作成

注意点

  • 既存開催の季節ガチャへの影響の有無
kouho change_title at 2024-04-02T10:07:24: 【4/5】温泉街ガチャ [WIP]【4/5】温泉街ガチャ
kouho change_title at 2024-04-02T14:17:27: [WIP]【4/5】温泉街ガチャ 【4/5】温泉街ガチャ

Comment

#33937 by kouho at 2024-04-02T14:19:37; updated 2024-04-02T14:19:37

@wada
レビューお願いいたします

Comment

#33948 by wada at 2024-04-02T15:53:41; updated 2024-04-02T15:53:41

@kouho
下段のドリンクモーダルが正常に動作しないので、テンプレートファイル下部の$('.toolTip_charaDrink_hide').click(function() { あたりの処理調整をお願いします。
<img src="https://git.dev.d-es.co.jp/gitbucket/jolly/jr-web/_attached/1712040748740PrkZDjdV4v" width="300">

Comment

#33949 by wada at 2024-04-02T16:19:39; updated 2024-04-02T16:19:39

@kouho
仕様書内の以下の出現保証が反映されていません。

限定カード	1~4枚 + おまけ1枚
	"2枚まで重複◯
(おまけは除く)"
wada add_label at 2024-04-02T16:19:43: コメントあり

Comment

#33952 by kouho at 2024-04-02T16:24:36; updated 2024-04-02T16:24:36

@wada
確認ありがとうございます。ドリンクモーダル修正しました。
> 下段のドリンクモーダルが正常に動作しないので、テンプレートファイル下部の$('.toolTip_charaDrink_hide').click(function() { あたりの処理調整をお願いします。

Comment

#33953 by kouho at 2024-04-02T16:43:06; updated 2024-04-02T16:43:06

@wada
確認ありがとうございます。以下修正しました。
> 仕様書内の以下の出現保証が反映されていません。
>
限定カード 1~4枚 + おまけ1枚
"2枚まで重複◯
(おまけは除く)"

Comment

#33961 by wada at 2024-04-02T19:11:45; updated 2024-04-02T19:11:45

@kouho
ありがとうございます。確認OKです。

get_warranty_settings()min設定は、処理が入っていなかったので、最低1枚保証が機能していませんでした。
もし、1枚以上保証が必須なら対応が必要です。

<img src="https://git.dev.d-es.co.jp/gitbucket/jolly/jr-web/_attached/1712052646809IGcFuoioq4" width="300">

wada delete_label at 2024-04-02T19:11:56: コメントあり
wada add_label at 2024-04-02T19:11:58: 和田 LGTM
wada add_label at 2024-04-03T13:31:52: コメントあり

Comment

#33977 by kouho at 2024-04-03T15:51:48; updated 2024-04-03T15:51:48

@wada
確認ありがとうございます。
> get_warranty_settings()のmin設定は、処理が入っていなかったので、最低1枚保証が機能していませんでした。
もし、1枚以上保証が必須なら対応が必要です。

1枚以上保証の処理を追加しました。また仕様調整が入り、限定カードが1~4枚から1~3枚になっております。

Comment

#33982 by kouho at 2024-04-03T17:54:36; updated 2024-04-03T17:54:36

@wada
そうです、すみません

Comment

#33983 by kouho at 2024-04-03T17:57:25; updated 2024-04-03T17:57:25

@wada
S_error_log削除しました

Comment

#33984 by wada at 2024-04-03T17:57:59; updated 2024-04-03T17:57:59

@kouho
ありがとうございます。確認OKです。

wada delete_label at 2024-04-03T17:58:02: コメントあり
kouho merge at 2024-04-04T11:39:33: 【4/5】温泉街ガチャ
kouho close at 2024-04-04T11:39:33: Close

commit comment

#223 by wada at 2024-04-03T17:51:44; lib/models/gacha/Simple_random.php / old:None new:76
4b2c0ed306ed88b43ef18b35e85ba7c6f6831689

@kouho
このS_error_logはデバッグ用ですか?

Commit range

base1a8bdf894711cb50d36e24c4250c8e490363084f
head4b2c0ed306ed88b43ef18b35e85ba7c6f6831689
base branchjolly/jr-web:master
head branchjolly/jr-web:gacha_season_0405

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed46 filesView patch
statusfile
modifiedlib/conf/class/SPGachaConfig.class.php
modifiedlib/conf/define_y.inc
modifiedlib/models/gacha/Drink_random.php
modifiedlib/models/gacha/Simple_random.php
modifiedlib/public/Bar-SPGacha.inc
modifiedlib/public/Bar-SPGachaCheck.inc
addedpublic_html/img/gacha/408/banner_gacha408.jpg
addedpublic_html/img/gacha/408/banner_gacha408_2.jpg
addedpublic_html/img/gacha/408/gacha408.jpg
addedpublic_html/img/gacha/408/gacha408_2.jpg
addedpublic_html/img/gacha/408/gacha408_info0.jpg
addedpublic_html/img/gacha/408/gacha408_info5.jpg
addedpublic_html/img/gacha/408/gacha408_info6.jpg
addedpublic_html/img/gacha/408/gacha408_info7.jpg
addedpublic_html/img/gacha/408/gacha408_title.jpg
addedpublic_html/img/gacha/408/gacha_result_top.jpg
addedpublic_html/img/gacha/408/status0.jpg
addedpublic_html/img/gacha/408/status0_2.jpg
addedpublic_html/img/gacha/408/status1.jpg
addedpublic_html/img/gacha/408/status1_2.jpg
addedpublic_html/img/gacha/408/status2.jpg
addedpublic_html/img/gacha/408/status3.jpg
addedpublic_html/img/gacha/gacha_coin_object408.png
addedpublic_html/img/gacha/gacha_coin_object408_2.png
addedpublic_html/img/info_event/info_event_959_1.jpg
addedpublic_html/img/info_event/info_event_959_2.jpg
addedpublic_html/img/info_jrye/3113/info1.jpg
addedpublic_html/img/info_jrye/3113/info2.jpg
addedpublic_html/img/info_jrye/3113/info3.jpg
addedpublic_html/img/info_jrye/3113/info4.jpg
addedpublic_html/img/info_jrye/3113/info5.jpg
addedpublic_html/img/info_jrye/3113/info6.jpg
addedpublic_html/img/info_jrye/3113/info7.jpg
addedpublic_html/img/info_jrye/CharmInfo/card/1167/info1.jpg
addedpublic_html/img/info_jrye/CharmInfo/card/1167/info2.jpg
addedpublic_html/img/info_jrye/CharmInfo/card/1167/info2_2.jpg
addedpublic_html/img/info_jrye/CharmInfo/card/1167/info3.jpg
addedpublic_html/img/info_jrye/CharmInfo/card/1170/info1.jpg
addedpublic_html/img/info_jrye/CharmInfo/card/1170/info2.jpg
addedpublic_html/img/info_jrye/CharmInfo/card/1170/info2_2.jpg
addedpublic_html/img/info_jrye/CharmInfo/card/1170/info3.jpg
modifiedpublic_html/js/JOLLYROGER.js
modifiedpublic_html/js/jr_main.min.js
modifiedpublic_html/template/Bar-SPGachaCheck.tpl
addedpublic_html/template/Bar-SPGacha_408.tpl
modifiedpublic_html/template/header_sp.tpl
Patch body is stored as a separate file to keep this page lightweight.

Review comment

#223 by wada at 2024-04-03T17:51:44; lib/models/gacha/Simple_random.php / old:None new:76
4b2c0ed306ed88b43ef18b35e85ba7c6f6831689

@kouho
このS_error_logはデバッグ用ですか?