PR

【2/18】賞金首イベントの報酬テーブル対応 #1545

wada opened this at 2022-02-10T14:31:45; closed

Description

opened by wada at 2022-02-10T14:31:45; updated 2022-02-21T14:58:17

概要

イベント報酬テーブル作成 #1471
賞金首報酬のポイント報酬、ランキング報酬をテーブルから取得
ランキングページに指定順位までのポイント表示を追加

<img src="https://git.dev.d-es.co.jp/gitbucket/jolly/jr-web/_attached/1644810567033tItal1xWu8" width="300">

影響箇所

メインページのイベントモーダルの報酬短縮名
冒険中のランキング報酬表示
ランキングページの指定順位ポイント表示
ポイント報酬獲得
ランキング報酬配布

ブランチ

web: battle_reward_table
db: battle_reward_table

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

user_event_pt を本番からインポートして以下のスクリプトを実行して確認してください。

ランキング集計

ENVIRONMENT=develop PF=yamada HTTP_HOST=127.0.0.1 IS_DOCKER=true php event_ranking_event_battle.inc

ランキング報酬配布

ENVIRONMENT=develop PF=yamada HTTP_HOST=127.0.0.1 IS_DOCKER=true php tool_event_battle_present.inc

TODO

管理画面登録

wada change_title at 2022-02-14T12:34:30: [WIP]賞金首イベントの報酬テーブル対応 【2/18】賞金首イベントの報酬テーブル対応
wada add_label at 2022-02-14T12:34:34: レビュー待ち

Comment

#17286 by wada at 2022-02-14T12:50:08; updated 2022-02-14T12:50:08

@iwamoto @kouho
確認お願いします。

Comment

#17419 by kouho at 2022-02-17T17:04:17; updated 2022-02-17T17:04:17

@wada
動作には影響はないですが、Battle_reward内の関数名を修正していただきたいです。
get_next_point_rewrad→get_next_point_reward

Comment

#17426 by kouho at 2022-02-18T09:56:30; updated 2022-02-18T09:56:30

@wada
確認しました。その他は問題ないように見えます。

Comment

#17429 by wada at 2022-02-18T10:19:39; updated 2022-02-18T10:19:39

@kouho
ありがとうございます。rewardのスペル修正しました。

Comment

#17432 by kouho at 2022-02-18T11:13:56; updated 2022-02-18T11:13:56

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

kouho add_label at 2022-02-18T11:13:59: 皇甫 LGTM

Comment

#17434 by iwamoto at 2022-02-18T13:15:47; updated 2022-02-18T13:15:47

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

iwamoto add_label at 2022-02-18T13:15:51: 岩本 LGTM
wada merge at 2022-02-18T17:12:56: 【2/18】賞金首イベントの報酬テーブル対応
wada close at 2022-02-18T17:12:56: Close
wada refer at 2022-02-21T14:58:17: 1570:【2/24】リリース

Commit range

base31393885a1b17e9d6cb84b970f3e5efbcfc56c9a
head0ab09409d56cb5117d4e21478e89ad4c17171ab3
base branchjolly/jr-web:develop
head branchjolly/jr-web:battle_reward_table

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed17 filesView patch
statusfile
modifiedcpanel_html/template/header.tpl
addedcpanel_html/template/m_battle_event_spec.tpl
modifiedlib/SubFunc.inc
modifiedlib/ajax/battle_player.inc
modifiedlib/class/const/RewardConst.class.php
modifiedlib/conf/class/BattleEventConfig.class.php
addedlib/cpanel/m_battle_event_spec.inc
modifiedlib/exec/event_ranking_event_battle.inc
modifiedlib/exec/tool_event_battle_present.inc
addedlib/models/Battle_reward.php
modifiedlib/models/dao/master_event_reward.php
modifiedlib/public/Main.inc
modifiedlib/public/Mission.inc
modifiedlib/public/Ranking-Event.inc
modifiedpublic_html/template/Mission.tpl
modifiedpublic_html/template/Ranking-Event.tpl
modifiedtool/event/test_battle_event.php
Patch body is stored as a separate file to keep this page lightweight.