PR

デイリークエストのヤマダポイント配布対応 #460

wada opened this at 2020-12-01T19:56:28; closed

Description

opened by wada at 2020-12-01T19:56:28; updated 2023-07-04T11:29:49

issue #429

クエストによるpt配布期間中、自動でデイリークエストに3種類のptクエストが追加されます。
他のデイリークエストと同じ仕様です。
・達成後に受け取りボタンを押さないと報酬がもらえない
・0:00でリセットされる(未受け取りの報酬も消える)

マスタ更新
・master_yamada_campaign
(ヤマダPTクエストDXのstart_dateを調整
・master_yamada_point

当日のデイリークエストは、ログイン処理内で作成されるため、
すでにログインしていた場合は、以下の対応が必要。
・当日のuser_daily_quest削除
・当日のdau_login削除
・user_info.reset_timeを前日以前に変更
・再度ログイン処理実行

wada change_title at 2020-12-04T10:00:47: [WIP] デイリークエストのヤマダポイント配布対応 デイリークエストのヤマダポイント配布対応
wada add_label at 2020-12-04T10:00:55: レビュー待ち

Comment

#8533 by wada at 2020-12-04T10:01:41; updated 2020-12-04T10:01:41

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

Comment

#8534 by wada at 2020-12-04T10:05:48; updated 2020-12-04T10:05:48

表記はヤマダ表記に関して修正入るかもしれません。

Comment

#8538 by iwamoto at 2020-12-04T12:26:13; updated 2020-12-04T12:26:13

@wada
こちら確認しました、問題ないです。

iwamoto delete_label at 2020-12-04T14:12:18: レビュー待ち

Comment

#8547 by wada at 2020-12-04T15:14:13; updated 2020-12-04T15:14:27

ヤマダポイントの表記を変更

ヤマダポイントx1
↓
1ヤマダポイント
wada merge at 2020-12-07T09:33:28: デイリークエストのヤマダポイント配布対応
wada close at 2020-12-07T09:33:28: Close
wada refer at 2021-01-04T10:19:43: 529:ヤマダクエスト追加

Commit range

basee568eb6d967fde4e46c598a340a2309c4c7b3f27
headb6518f927b2d16ef881cd31bb03e3396f8ea971c
base branchjolly/jr-web:develop
head branchjolly/jr-web:yamada_pt_429

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed11 filesView patch
statusfile
modifiedlib/SubFunc.inc
modifiedlib/class/const/PresentNameConst.class.php
modifiedlib/class/present_box/PresentBoxContent.class.php
modifiedlib/models/Yamada_point.php
addedlib/models/Yamada_point_quest.php
modifiedlib/public/Quest-Daily.inc
modifiedlib/public/Quest-DailyClear.inc
addedpublic_html/img/item/120/yamada_point.jpg
modifiedpublic_html/js/JOLLYROGER.js
modifiedpublic_html/template/Main.tpl
modifiedpublic_html/template/Quest-Daily.tpl
Patch body is stored as a separate file to keep this page lightweight.