PR

【1/6】サルベージと陸地のコンパス #1433

wada opened this at 2021-12-28T18:25:47; closed

Description

opened by wada at 2021-12-28T18:25:47; updated 2022-01-11T10:51:04

概要

【1/11】期限付きサルベージと陸地のコンパス #1432
アイテム一覧から使用すると、冒険中のステージがそれぞれ陸地とサルベージに変化する
海以外のステージではコンパスを使用できない(サルベージも除外)
他の期限付きアイテムと同じように、期限を過ぎると所持数が0になる

冒険ページからコンパスの使用は、別の更新をマージする必要があるので保留

ブランチ

web: limited_item_0111
db: limited_item_0111

TODO

冒険ページでコンパス使用ダイアログ設置

wada add_label at 2022-01-05T16:12:04: レビュー待ち
wada change_title at 2022-01-05T16:12:31: [WIP]サルベージと陸地のコンパス 【1/6】サルベージと陸地のコンパス

Comment

#16325 by wada at 2022-01-05T16:12:43; updated 2022-01-05T16:12:43

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

Comment

#16327 by kouho at 2022-01-05T16:30:58; updated 2022-01-05T16:30:58

@wada
メモです。PresentItemConfig::getItem_raid関数への追加はレイド実装側で行っておきます。

Comment

#16339 by wada at 2022-01-05T18:47:24; updated 2022-01-05T18:47:24

@iwamoto
ありがとうございます。
修正対応しました。

Comment

#16346 by iwamoto at 2022-01-06T10:33:26; updated 2022-01-06T10:33:26

@wada
修正を含めて確認しました。
問題ないように思います。

iwamoto add_label at 2022-01-06T10:33:30: 岩本 LGTM

Comment

#16378 by kouho at 2022-01-06T15:18:01; updated 2022-01-06T15:18:01

@wada
確認しました。問題ないと思います。

kouho add_label at 2022-01-06T15:18:04: 皇甫 LGTM
wada merge at 2022-01-07T09:31:51: 【1/6】サルベージと陸地のコンパス
wada close at 2022-01-07T09:31:51: Close
wada refer at 2022-01-11T10:51:04: 1448:【1/11】リリース

commit comment

#106 by iwamoto at 2022-01-05T18:28:08; lib/ajax/item_result.inc / old:369 new:369
d91c3de109acd9d4513553458967ced55029758d

@wada
新大陸イベント期間外で該当のコンパスを使用できません。
イベント期間外で新大陸用のイベントコンパスを使用できないようにしていますが、
条件 item_type == 9 のため、該当のコンパスも引っかかってしまっています。

commit comment

#107 by iwamoto at 2022-01-05T18:34:44; lib/ajax/item_result.inc / old:354 new:None
fe8db80e1febf63f017662d73b130d2120a9e075

@wada
if($flg == 2) {$flgはここではまだありません。
追加箇所より下の try { 内の G:404 あたりがようさそうです。

Commit range

base9a629724d7f0a4880afd91c902986ccf4cae7d3d
headfe8db80e1febf63f017662d73b130d2120a9e075
base branchjolly/jr-web:develop
head branchjolly/jr-web:limited_item_0111

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed41 filesView patch
statusfile
modifiedlib/SubFunc.inc
modifiedlib/ajax/item_result.inc
modifiedlib/ajax/item_select.inc
modifiedlib/class/const/ItemConst.class.php
addedlib/class/const/MissionStageConst.class.php
modifiedlib/class/const/PresentNameConst.class.php
modifiedlib/class/weekday_limited_item/WeekdayLimitedItemManager.class.php
modifiedlib/conf/class/NewIslandConfig.class.php
modifiedlib/conf/class/PresentItemConfig.class.php
modifiedlib/conf/class/WeekdayLimitedItemConfig.class.php
modifiedlib/public/Mission.inc
modifiedlib/public/Quest-Detail.inc
addedpublic_html/img/item/120/213.jpg
addedpublic_html/img/item/120/214.jpg
addedpublic_html/img/item/120/215.jpg
addedpublic_html/img/item/120/216.jpg
addedpublic_html/img/item/150/213.jpg
addedpublic_html/img/item/150/214.jpg
addedpublic_html/img/item/150/215.jpg
addedpublic_html/img/item/150/216.jpg
addedpublic_html/img/item/58/213.jpg
addedpublic_html/img/item/58/214.jpg
addedpublic_html/img/item/58/215.jpg
addedpublic_html/img/item/58/216.jpg
addedpublic_html/img/item/60/213.jpg
addedpublic_html/img/item/60/214.jpg
addedpublic_html/img/item/60/215.jpg
addedpublic_html/img/item/60/216.jpg
addedpublic_html/img/item/70/213.jpg
addedpublic_html/img/item/70/214.jpg
addedpublic_html/img/item/70/215.jpg
addedpublic_html/img/item/70/216.jpg
addedpublic_html/img/item/weekday_limited/generic/120/land.jpg
addedpublic_html/img/item/weekday_limited/generic/120/salvage.jpg
addedpublic_html/img/item/weekday_limited/generic/60/land.jpg
addedpublic_html/img/item/weekday_limited/generic/60/salvage.jpg
addedpublic_html/img/mission/compassbtn.jpg
modifiedpublic_html/js/JOLLYROGER.js
modifiedpublic_html/template/Item.tpl
modifiedpublic_html/template/Mission.tpl
modifiedpublic_html/template/Quest-Detail.tpl
Patch body is stored as a separate file to keep this page lightweight.

Review comment

#106 by iwamoto at 2022-01-05T18:28:08; lib/ajax/item_result.inc / old:369 new:369
d91c3de109acd9d4513553458967ced55029758d

@wada
新大陸イベント期間外で該当のコンパスを使用できません。
イベント期間外で新大陸用のイベントコンパスを使用できないようにしていますが、
条件 item_type == 9 のため、該当のコンパスも引っかかってしまっています。

Review comment

#107 by iwamoto at 2022-01-05T18:34:44; lib/ajax/item_result.inc / old:354 new:None
fe8db80e1febf63f017662d73b130d2120a9e075

@wada
if($flg == 2) {$flgはここではまだありません。
追加箇所より下の try { 内の G:404 あたりがようさそうです。