PR

【1/24】レイド報酬のテーブル参照 #1495

wada opened this at 2022-01-20T17:32:09; closed

Description

opened by wada at 2022-01-20T17:32:09; updated 2022-01-28T10:49:12

概要

レイドイベントの報酬情報をテーブルから取得
・達成報酬
・チームレイド討伐報酬
・ダメージMVP報酬

ランキング報酬は報酬配布までに対応予定

報酬画像ファイル名調整

・カード:100000 + card_no.png
・勝利の証:14000 + card_piece_no.png

config設定の手間を省くためとりあえずのルール決め

ブランチ

web: raid_reward
db: raid_reward

master_event_reward, master_event_reward_itemにはevent_no:29の報酬設定済み

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

<b>レイド実装と同時に確認できる場合は、以下の対応は必要ありません。</b>

テーブルのevent_noが未来の設定になっているので、raid_configと同じ28に変更して確認してください。

UPDATE master_event_reward SET event_no = 28 WHERE event_no = 29;

要確認箇所
・レイドページの達成報酬、各種ポイント、報酬ランク画像、ループ中の報酬
・各レイド討伐時の報酬受け取り

TODO

ランキング報酬のテーブル対応
管理画面達成報酬一覧のテーブル対応

Comment

#16759 by wada at 2022-01-20T17:32:37; updated 2022-01-20T17:32:37

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

Comment

#16790 by wada at 2022-01-21T15:55:19; updated 2022-01-21T15:55:19

管理画面の更新対応をブランチに含めました。
確認の前に git pull してください。

Comment

#16793 by kouho at 2022-01-21T16:06:40; updated 2022-01-21T16:06:40

@wada
master_event_reward
master_event_reward_item
の更新コミットが見つからず確認していただけませんか?

Comment

#16794 by wada at 2022-01-21T16:11:29; updated 2022-01-21T16:11:29

@kouho
はい、追加しました。

wada change_title at 2022-01-24T10:03:37: 【1/22】レイド報酬のテーブル参照 【1/24】レイド報酬のテーブル参照

Comment

#16800 by wada at 2022-01-24T10:34:27; updated 2022-01-24T10:35:02

もともとのevent_noが間違っていたので修正しました。
event_no:29が正です。

Comment

#16803 by wada at 2022-01-24T12:15:48; updated 2022-01-24T12:15:48

討伐時の報酬名が出ていなかったので修正しました。
<img src="https://git.dev.d-es.co.jp/gitbucket/jolly/jr-web/_attached/1642994115742ibWO3sHomL" width="400">

Comment

#16817 by kouho at 2022-01-24T16:27:33; updated 2022-01-24T16:27:33

@wada @iwamoto
チーム内ダメージランキング報酬について本来レイドを討伐していたら獲得できるものが討伐せずHPが0でももらえるようになってしまっていたため修正をしていますのでこちらも確認していただけましたら幸いです。
b89b76e59eef483f4daa875c0e52df27c8184dd2

Comment

#16822 by wada at 2022-01-24T17:04:30; updated 2022-01-24T17:04:30

ダメージランキング報酬が、log_team_raid_monster_damage_vs に追加されていなかったため対応入れました。

Comment

#16833 by kouho at 2022-01-24T18:56:27; updated 2022-01-24T18:56:27

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

kouho add_label at 2022-01-24T18:56:31: 皇甫 LGTM

Comment

#16837 by iwamoto at 2022-01-24T19:24:16; updated 2022-01-24T19:24:16

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

iwamoto add_label at 2022-01-24T19:24:19: 岩本 LGTM
kouho merge at 2022-01-25T10:45:48: 【1/24】レイド報酬のテーブル参照
kouho close at 2022-01-25T10:45:48: Close
kouho refer at 2022-01-28T10:49:12: 1513:【1/28】リリース・レイド

Commit range

base2c0f6b14b150f4345cad9fb44b2bfb76ce5a51ff
headd407e965d46b35afae12f788448a7abc080d8a79
base branchjolly/jr-web:develop
head branchjolly/jr-web:raid_reward

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed43 filesView patch
statusfile
modifiedcpanel_html/index.php
modifiedcpanel_html/template/header.tpl
addedcpanel_html/template/m_raid_event_spec.tpl
modifiedlib/SubFunc.inc
modifiedlib/class/const/PresentNameConst.class.php
modifiedlib/class/present_box/PresentBoxContent.class.php
modifiedlib/conf/class/RaidMonsterConfig.class.php
addedlib/cpanel/m_base.inc
addedlib/cpanel/m_raid_event_spec.inc
modifiedlib/exec/tool_event_raid_point.inc
addedlib/models/Raid_reward.php
addedlib/models/dao/master_event_reward.php
modifiedlib/public/Main.inc
modifiedlib/public/Raid-Default.inc
modifiedlib/public/Raid-GetMedal.inc
modifiedlib/public/Raid-GetMedalVs.inc
modifiedlib/public/Raid-Vs.inc
renamedpublic_html/img/raid/point_item/112_1.png -> public_html/img/raid/point_item/100287_1.png
renamedpublic_html/img/raid/point_item/112_2.png -> public_html/img/raid/point_item/100287_2.png
renamedpublic_html/img/raid/point_item/116_1.png -> public_html/img/raid/point_item/100372_1.png
renamedpublic_html/img/raid/point_item/116_2.png -> public_html/img/raid/point_item/100372_2.png
renamedpublic_html/img/raid/point_item/114_1.png -> public_html/img/raid/point_item/100435_1.png
renamedpublic_html/img/raid/point_item/114_2.png -> public_html/img/raid/point_item/100435_2.png
addedpublic_html/img/raid/point_item/100464_1.png
addedpublic_html/img/raid/point_item/100464_2.png
renamedpublic_html/img/raid/point_item/111_1.png -> public_html/img/raid/point_item/100562_1.png
renamedpublic_html/img/raid/point_item/111_2.png -> public_html/img/raid/point_item/100562_2.png
renamedpublic_html/img/raid/point_item/110_1.png -> public_html/img/raid/point_item/14001_1.png
renamedpublic_html/img/raid/point_item/110_2.png -> public_html/img/raid/point_item/14001_2.png
renamedpublic_html/img/raid/point_item/113_1.png -> public_html/img/raid/point_item/14002_1.png
renamedpublic_html/img/raid/point_item/113_2.png -> public_html/img/raid/point_item/14002_2.png
addedpublic_html/img/raid/point_item/14003_1.png
addedpublic_html/img/raid/point_item/14003_2.png
renamedpublic_html/img/raid/point_item/118_1.png -> public_html/img/raid/point_item/14106_1.png
renamedpublic_html/img/raid/point_item/118_2.png -> public_html/img/raid/point_item/14106_2.png
renamedpublic_html/img/raid/point_item/120_1.png -> public_html/img/raid/point_item/14107_1.png
renamedpublic_html/img/raid/point_item/120_2.png -> public_html/img/raid/point_item/14107_2.png
modifiedpublic_html/template/Main.tpl
modifiedpublic_html/template/Raid-DefaultMedal.tpl
modifiedpublic_html/template/Raid-GetMedal.tpl
modifiedpublic_html/template/Raid-GetMedalVs.tpl
modifiedpublic_html/template/Raid-Vs.tpl
modifiedtool/event/test_raid_event.php
Patch body is stored as a separate file to keep this page lightweight.