PR

【9/11】バトルイベント3 #228

iwamoto opened this at 2020-09-09T12:37:37; closed

Description

opened by iwamoto at 2020-09-09T12:37:37; updated 2023-08-22T18:52:58

【9/11】バトルイベント #192

iwamoto add_label at 2020-09-09T12:41:58: event
iwamoto add_label at 2020-09-09T12:42:01: デベロップへマージ
iwamoto add_label at 2020-09-09T12:42:04: レビュー待ち
iwamoto assign at 2020-09-09T12:42:14: Not assigned:iwamoto

Comment

#6913 by iwamoto at 2020-09-09T12:45:17; updated 2020-09-09T12:45:17

@wada
コードレビューお願いします。

Comment

#6915 by wada at 2020-09-09T14:45:25; updated 2020-09-09T14:45:25

6000, 7000, 12000の報酬が違うみたいです。

Comment

#6917 by iwamoto at 2020-09-09T15:13:43; updated 2020-09-09T15:13:43

@wada
すみあせん、こちら報酬の設定修正を行いました。

Comment

#6918 by wada at 2020-09-09T15:30:59; updated 2020-09-09T15:31:20

jr_mission.jsの更新とキャッシュ削除も対応入れると良いと思います。
user_event_pt.update_battle_exp_bonus_limitがミッションのたびに呼び出されるので、キャッシュ内の時間をリセットするなど一度だけ呼び出されるようにして欲しいです。

Comment

#6919 by wada at 2020-09-09T15:37:16; updated 2020-09-09T15:37:16

経験値UPモードになって初めてバトルをした時、user_event_ptがまだない?のでbonus_limitが更新されず、経験値が2倍にならない現象が発生しました。

Comment

#6956 by iwamoto at 2020-09-10T12:01:47; updated 2020-09-10T12:01:47

@wada
jr_mission.jsの更新
冒険の初回アクセス時にuser_event_ptを登録するようにしました。
bonus_limitをキャッシュから参照するように対応しました。
こちらご確認お願い致します。

Comment

#6958 by iwamoto at 2020-09-10T12:35:44; updated 2020-09-10T12:35:44

@wada
勝利ユーザ判定を誤って消してしまったので
こちら修正しました。

Comment

#6959 by wada at 2020-09-10T12:37:33; updated 2020-09-10T12:37:33

@iwamoto
OKです!

iwamoto merge at 2020-09-10T13:12:55: Merged by user
iwamoto close at 2020-09-10T13:12:55: Close

commit comment

#15 by wada at 2020-09-10T12:19:14; lib/SubFunc_mission.inc / old:None new:5333
f726af5e8988984b4b502068d24eb3b590897a6d

勝利ユーザ判定が消えてる?

Commit range

basecd6de9043024d57389e2568d29bdecd107d3f31a
headc6ec730a95a297585b99ddd8a691a76f0dcd2d80
base branchjolly/jr-web:develop
head branchjolly/jr-web:event_battle_3_192

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed16 filesView patch
statusfile
addeddatabase/migrate/2020091101_user_event_pt.sql
modifiedlib/SubFunc.inc
modifiedlib/SubFunc_mission.inc
modifiedlib/ajax/mission_default.inc
modifiedlib/conf/class/BattleEventConfig.class.php
modifiedlib/conf/class/NewIslandConfig.class.php
modifiedlib/conf/define.inc
modifiedlib/conf/define_y.inc
modifiedlib/models/dao/Base_model.php
addedlib/models/dao/log_battle_event_point.php
addedlib/models/dao/user_event_pt.php
modifiedpublic_html/js/JOLLYROGER_mission.js
modifiedpublic_html/js/jr_mission.js
modifiedpublic_html/template/Mission.tpl
modifiedpublic_html/template/TeamWar.tpl
modifiedpublic_html/template/header_sp.tpl
Patch body is stored as a separate file to keep this page lightweight.

Review comment

#15 by wada at 2020-09-10T12:19:14; lib/SubFunc_mission.inc / old:None new:5333
f726af5e8988984b4b502068d24eb3b590897a6d

勝利ユーザ判定が消えてる?