PR

ガチャ祭りクエスト進捗表示 #4184

wada opened this at 2025-07-22T09:57:01; closed

Description

opened by wada at 2025-07-22T09:57:01; updated 2025-07-22T17:27:37

概要

①酒場上部にCPバナー表示
②CP告知とガチャ結果に進行中のクエスト表示追加(くじCPと同じ形式)

②の表示詳細

▼告知

<img src="https://jolly-gitbucket.curl-catla.ts.net/gitbucket/jolly/jr-web/_attached/1753145663388Oa1arB690d" width="300">

進行中のクエスト表示
全報酬受取り後は非表示

▼技玉ガチャ

<img src="https://jolly-gitbucket.curl-catla.ts.net/gitbucket/jolly/jr-web/_attached/1753145684480DTjlClyETV" width="300">

条件(コイン購入)時のみ、カウント回数を表示
進行中のクエスト表示は時間の問題でなし
全クエスト達成後は非表示

▼各ガチャ結果ページ

<img src="https://jolly-gitbucket.curl-catla.ts.net/gitbucket/jolly/jr-web/_attached/17531457012664AyPBs3jQH" width="300">

条件(コイン購入)時のみ、進行中のクエスト表示
表示内容にカウント回数を追記
~~全クエスト達成後は非表示~~
<span style="color:red;">全報酬受取り後まで表示、カウント回数は非表示</span>

wada add_label at 2025-07-22T10:05:13: レビュー待ち

Comment

#41591 by wada at 2025-07-22T10:05:42; updated 2025-07-22T10:05:42

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

Comment

#41599 by wada at 2025-07-22T12:08:09; updated 2025-07-22T12:08:09

@kouho
修正しました。

> $_temp['result']の構造が異なるため、
$_temp['result']['payment'] ['campaign_quest_coin_gacha_count'] が正かと思います

kouho add_label at 2025-07-22T13:09:54: 皇甫 LGTM

Comment

#41601 by kouho at 2025-07-22T13:10:32; updated 2025-07-22T13:10:32

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

wada merge at 2025-07-22T17:26:45: ガチャ祭りクエスト進捗表示
wada close at 2025-07-22T17:26:45: Close
wada delete_branch at 2025-07-22T17:27:37: display_gacha_coin_cp

commit comment

#299 by kouho at 2025-07-22T11:31:47; lib/public/Bar-ItemGachaResult.inc / old:None new:197
513fd71798717a5c230d169b76fb52a3c1a4804c

@wada
$_temp['result']の構造が異なるため、
$_temp['result']['payment'] ['campaign_quest_coin_gacha_count'] が正かと思います

commit comment

#300 by kouho at 2025-07-22T11:32:29; lib/public/Bar-SetupGachaResult.inc / old:None new:87
7cf8db10216cc3837cfd10b80954de7ba373ab1a

@wada
$_temp['result']の構造が異なるため、
$_temp['result']['payment'] ['campaign_quest_coin_gacha_count'] が正かと思います

commit comment

#301 by kouho at 2025-07-22T11:34:53; lib/public/Bar-MonsterGachaResult.inc / old:None new:135
7cf8db10216cc3837cfd10b80954de7ba373ab1a

@wada
$_temp['result']の構造が異なるため、
$_temp['result']['payment'] ['campaign_quest_coin_gacha_count'] が正かと思います

Commit range

basea4f53d1a5244208aa52ab6b3147c4c2ee5393c83
head513fd71798717a5c230d169b76fb52a3c1a4804c
base branchjolly/jr-web:campaign_quest_gacha_apply
head branchjolly/jr-web:display_gacha_coin_cp

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
modifiedlib/ajax/default_info.inc
modifiedlib/conf/class/CampaignQuestConfig.class.php
modifiedlib/models/Campaign_quest.php
modifiedlib/models/Gacha_payment.php
modifiedlib/models/shop/Skill_ball_gacha.php
modifiedlib/public/Bar-Default.inc
modifiedlib/public/Bar-GachaResult.inc
modifiedlib/public/Bar-ItemGachaExec.inc
modifiedlib/public/Bar-ItemGachaResult.inc
modifiedlib/public/Bar-MonsterGachaExec.inc
modifiedlib/public/Bar-MonsterGachaResult.inc
modifiedlib/public/Bar-PickupGachaExec.inc
modifiedlib/public/Bar-PickupGachaResult.inc
modifiedlib/public/Bar-SPGachaExec.inc
modifiedlib/public/Bar-SPGachaResult.inc
modifiedlib/public/Bar-SetupGachaExec.inc
modifiedlib/public/Bar-SetupGachaResult.inc
modifiedpublic_html/js/JOLLYROGER.js
modifiedpublic_html/template/Bar-GachaResult.tpl
modifiedpublic_html/template/Bar-GachaResultReprint3.tpl
modifiedpublic_html/template/Bar-ItemGachaResult.tpl
modifiedpublic_html/template/Bar-MonsterGachaResult.tpl
modifiedpublic_html/template/Bar-PickupGachaResult.tpl
modifiedpublic_html/template/Bar-SPGachaResult.tpl
modifiedpublic_html/template/Bar-SetupGachaResult.tpl
modifiedpublic_html/template/Shop.tpl
addedpublic_html/template/parts/parts_campaign_quest_progress.tpl
Patch body is stored as a separate file to keep this page lightweight.

Review comment

#299 by kouho at 2025-07-22T11:31:47; lib/public/Bar-ItemGachaResult.inc / old:None new:197
513fd71798717a5c230d169b76fb52a3c1a4804c

@wada
$_temp['result']の構造が異なるため、
$_temp['result']['payment'] ['campaign_quest_coin_gacha_count'] が正かと思います

Review comment

#300 by kouho at 2025-07-22T11:32:29; lib/public/Bar-SetupGachaResult.inc / old:None new:87
7cf8db10216cc3837cfd10b80954de7ba373ab1a

@wada
$_temp['result']の構造が異なるため、
$_temp['result']['payment'] ['campaign_quest_coin_gacha_count'] が正かと思います

Review comment

#301 by kouho at 2025-07-22T11:34:53; lib/public/Bar-MonsterGachaResult.inc / old:None new:135
7cf8db10216cc3837cfd10b80954de7ba373ab1a

@wada
$_temp['result']の構造が異なるため、
$_temp['result']['payment'] ['campaign_quest_coin_gacha_count'] が正かと思います