PR

【9/26】シーズン限定チケット #3107

wada opened this at 2023-09-21T12:09:53; closed

Description

opened by wada at 2023-09-21T12:09:53; updated 2023-09-28T18:53:41

概要

https://git.dev.d-es.co.jp/gitbucket/jolly/jr-web/issues/3082
TODOの内容は、シーズン4リリース後でも対応できるものは後回し

以下のガチャでチケット対応

  • ステップアップ
  • 復刻プレミアム
  • ピックアップ
  • 季節

チケット対応内容

  • 対象アイテムは、ItemConst.class.phpに設定

仮でitem:55をチケット設定
master_item.item_type=32がシーズンチケット

  • 専用クラスSeason_item.php作成
  • 各種マジックナンバーを定数化
  • チケット判定を$ticket_type,$ticket_num使用
  • ガチャ結果ページのclass,id名をガチャトップページと統一

チケットボタンを共通化したため、gachaResult > gacha変更

DB更新内容

【9/26】シーズン限定チケット jolly/jrye-db#544

テスト方法、確認した内容

https://docs.google.com/spreadsheets/d/19En7kGzovKVW7lJ7UtXmNlO8wV8ePvBfRRziLo1ak94/edit#gid=862521634

シーズン3は仮でitem_no:55をシーズンチケットにしているので、
master_item.item_typeを32に変更して確認してください。

TODO

  • [x] アイテム詳細からの使用
  • [x] アイテムマスタの登録
  • [x] アイテム画像
  • [ ] シーズン終了後のGOLD変換

シーズンパス対応は別PR

Comment

#30604 by wada at 2023-09-21T12:11:59; updated 2023-09-21T12:12:07

@kouho
すべて完了してからだと時間が無いと思うので、チケット消費周りのレビューを先にお願いします。

・現在開催中のガチャの挙動に変化がないか
・各ガチャでシーズンチケットが使用できるか

Comment

#30624 by kouho at 2023-09-21T18:00:00; updated 2023-09-21T18:00:00

@wada
各ガチャの挙動確認とチケットを使用できるかは確認して問題ないと思います。

  • ステップアップ
  • 復刻プレミアム
  • ピックアップ
  • 季節

表示周りは調整中だと思いますが、たくさん配るものではないので使用枚数をselectのoptionを使わずそのまま1枚と表示するか使う枚数の箇所を無くしても良いかと思いました。

Comment

#30668 by wada at 2023-09-25T14:12:54; updated 2023-09-25T14:12:54

@kouho
デバッグ期間のコンフリクトは、developマージ時に解消します。

Comment

#30676 by wada at 2023-09-25T14:37:04; updated 2023-09-25T14:37:04

@kouho
チケット画像の追加とガチャボタン上テキスト調整しました。
ガチャ確認ページの画像はでき次第差し替えます。

Comment

#30686 by kouho at 2023-09-25T15:31:25; updated 2023-09-25T15:31:25

@wada
> チケット画像の追加とガチャボタン上テキスト調整しました。

確認しました。

> ガチャ確認ページの画像はでき次第差し替えます。

了解です。

Comment

#30689 by kouho at 2023-09-25T15:40:48; updated 2023-09-25T15:40:48

@wada
ガチャ確認ページ画像以外確認OKです。

kouho add_label at 2023-09-26T15:09:01: 皇甫 LGTM

Comment

#30701 by kouho at 2023-09-26T15:09:11; updated 2023-09-26T15:09:11

@wada
確認OKです

wada merge at 2023-09-27T09:48:50: 【9/26】シーズン限定チケット
wada close at 2023-09-27T09:48:50: Close
wada refer at 2023-09-28T18:53:41: 3124:【10/2】パイレーツパスシーズン4リリース

Commit range

base04e59386f207ac6c731a4c50370e1a7fa30b695c
headc7f133467272e8c3cd15611791045e9bf2ac1518
base branchjolly/jr-web:develop
head branchjolly/jr-web:season_limited_item

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed49 filesView patch
statusfile
modifiedlib/SubFunc.inc
modifiedlib/ajax/item_result.inc
modifiedlib/ajax/item_select.inc
addedlib/class/const/GachaConst.class.php
modifiedlib/class/const/ItemConst.class.php
modifiedlib/conf/class/SeasonPassConfig.class.php
modifiedlib/models/Gacha_payment.php
addedlib/models/Season_item.php
modifiedlib/models/gacha/Step_up.php
modifiedlib/public/Bar-Gacha.inc
modifiedlib/public/Bar-GachaCheck.inc
modifiedlib/public/Bar-GachaCheckDialogTicket.inc
modifiedlib/public/Bar-GachaExec.inc
modifiedlib/public/Bar-GachaResult.inc
modifiedlib/public/Bar-PickupGacha.inc
modifiedlib/public/Bar-PickupGachaCheck.inc
modifiedlib/public/Bar-PickupGachaExec.inc
modifiedlib/public/Bar-PickupGachaResult.inc
modifiedlib/public/Bar-SPGacha.inc
modifiedlib/public/Bar-SPGachaCheck.inc
modifiedlib/public/Bar-SPGachaExec.inc
modifiedlib/public/Bar-SPGachaResult.inc
addedpublic_html/img/gacha/check_ticket_season.jpg
addedpublic_html/img/item/120/301.jpg
addedpublic_html/img/item/120/302.jpg
addedpublic_html/img/item/150/301.jpg
addedpublic_html/img/item/150/302.jpg
addedpublic_html/img/item/58/301.jpg
addedpublic_html/img/item/58/302.jpg
addedpublic_html/img/item/60/301.jpg
addedpublic_html/img/item/60/302.jpg
addedpublic_html/img/item/70/301.jpg
addedpublic_html/img/item/70/302.jpg
modifiedpublic_html/js/JOLLYROGER.js
modifiedpublic_html/template/Bar-GachaCheck.tpl
modifiedpublic_html/template/Bar-GachaCheckDialogTicket.tpl
modifiedpublic_html/template/Bar-GachaCheckReprint3.tpl
modifiedpublic_html/template/Bar-GachaReprint3.tpl
modifiedpublic_html/template/Bar-GachaResult.tpl
modifiedpublic_html/template/Bar-GachaResultReprint3.tpl
modifiedpublic_html/template/Bar-Gacha_old.tpl
modifiedpublic_html/template/Bar-PickupGacha.tpl
modifiedpublic_html/template/Bar-PickupGachaCheck.tpl
modifiedpublic_html/template/Bar-PickupGachaResult.tpl
modifiedpublic_html/template/Bar-SPGacha.tpl
modifiedpublic_html/template/Bar-SPGachaCheck.tpl
modifiedpublic_html/template/Bar-SPGachaResult.tpl
modifiedpublic_html/template/Item.tpl
addedpublic_html/template/parts/parts_gacha_season_ticket_button.tpl
Patch body is stored as a separate file to keep this page lightweight.