PR

【11/27】自由海域コンパス #3226

wada opened this at 2023-11-17T17:36:28; closed

Description

opened by wada at 2023-11-17T17:36:28; updated 2023-11-27T14:53:15

概要

https://docs.google.com/spreadsheets/d/1elxt5PgDylSL94IKg2zRH3GZRt9hGu3MM5rwnFzjcno/edit#gid=0

パイレーツパスページ

ステップ報酬リストに0ステップ目として、コンパスを追加
アイテム詳細は告知画像を流用し、購入と同時に獲得状態にする

冒険ページ

コンパスリスト2段目に追加
ステージ変更可能時のみボタン押下可能
移動後、エラー発生時冒険ページにメッセージ表示
1日の使用回数はmemcachedで管理(時刻変更対応)

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

開発環境のみ?M=Mission&A=ResetFreeCountにアクセスで、残り回数をリセット

レジェンダリー未購入時

  • ステップ報酬リスト
  • コンパスリスト

レジェンダリー購入後

  • ステップ報酬リスト
  • コンパスリスト
  • ステージ移動

TODO

他の作業と相談(ムリそう)

  • [ ] ~~レジェンダリー購入POP、購入前の機能解放説明~~
  • [ ] ~~購入後の機能解放説明~~

Comment

#31814 by wada at 2023-11-17T17:36:36; updated 2023-11-17T17:36:36

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

kouho add_label at 2023-11-21T18:59:38: 皇甫 LGTM

Comment

#31889 by kouho at 2023-11-21T19:01:08; updated 2023-11-21T19:23:22

@wada
実装は問題ないと思いますが、関係のない画像の更新でコンフリクトが発生しておりましたので確認お願いいたします。
public_html/img/season_pass/main/season/4/buybutton_regular.png

また、デバッグ後js圧縮もお願いします。

Comment

#31971 by wada at 2023-11-27T11:19:25; updated 2023-11-27T11:19:25

@kouho
コンフリクトの解消とjs圧縮実行しました。

wada merge at 2023-11-27T14:09:57: 【11/27】自由海域コンパス
wada close at 2023-11-27T14:09:57: Close
wada delete_branch at 2023-11-27T14:53:15: pp_stage_free_navi

Commit range

base7a34496e3495263d84b7457f432d60cf37d3c60c
head560a2a71c0a014a699a9345dc3a3daaefe0a1c47
base branchjolly/jr-web:master
head branchjolly/jr-web:pp_stage_free_navi

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed26 filesView patch
statusfile
modifiedlib/SubFunc.inc
modifiedlib/ajax/mission_default.inc
modifiedlib/ajax/valhalla_default.inc
modifiedlib/class/const/MissionStageConst.class.php
addedlib/class/controller/JrControllerMission.class.php
modifiedlib/class/present_box/PresentBoxContentSeasonPass.class.php
modifiedlib/class/season_pass/SeasonPass.class.php
modifiedlib/conf/class/SeasonPassConfig.class.php
modifiedlib/models/dao/user_mission.php
modifiedlib/public/Mission.inc
addedpublic_html/img/info_jrye/2719/info1.jpg
addedpublic_html/img/info_jrye/2719/info2.jpg
addedpublic_html/img/info_jrye/2719/info3.jpg
addedpublic_html/img/season_pass/icon/120/icon_free_compass.jpg
modifiedpublic_html/img/season_pass/main/season/4/buybutton_regular.png
addedpublic_html/img/season_pass/reward_info/item_110_1.png
modifiedpublic_html/index.php
modifiedpublic_html/js/JOLLYROGER_mission.js
modifiedpublic_html/js/JOLLYROGER_valhalla.js
modifiedpublic_html/js/jr_mission.min.js
modifiedpublic_html/js/jr_valhalla.min.js
addedpublic_html/template/Mission-SelectStage.tpl
modifiedpublic_html/template/Mission.tpl
modifiedpublic_html/template/SeasonPass-Home.tpl
modifiedpublic_html/template/Valhalla.tpl
modifiedpublic_html/template/header_sp.tpl
Patch body is stored as a separate file to keep this page lightweight.