PR

新大陸モンスターリスト #2591

wada opened this at 2023-02-07T17:33:05; closed

Description

opened by wada at 2023-02-07T17:33:05; updated 2023-03-09T11:56:10

概要

フックモンスター出現とレアモンスターモードについて仕様を分かりやすく jolly/jr-cs-issue#104

仕様

告知のタブにモンスター一覧を追加
ステージのモンスターを初討伐で報酬を獲得
全モンスター討伐で追加報酬

追加テーブル

	CREATE TABLE `user_new_island_monster_beat` (
  `user_no` int(10) unsigned NOT NULL,
  `event_no` smallint(5) unsigned NOT NULL,
  `stage_id` tinyint(3) unsigned NOT NULL COMMENT 'MissionStageConst',
  `monster_no` smallint(5) unsigned NOT NULL,
  `total_beat` int(10) unsigned NOT NULL,
  `reward_received` tinyint(4) unsigned NOT NULL DEFAULT '0' COMMENT '1:受取済、2:全報酬受取済',
  PRIMARY KEY (`user_no`,`event_no`,`stage_id`,`monster_no`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

告知タブ

<ul class="ui-bar-a">
	<li><div class="css_font12" style="color:#666666;text-align:center;padding:10px;line-height:120%">概要</div></li>
	<li><a href={${S_URLencoding("./?M=Default#page_default_info?id=1976")}} data-ajax="false" >報酬</a></li>
	{$_temp['tab_monster_list']}
</ul>

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

新大陸でモンスターを討伐して報酬獲得

TODO

  • [x] 告知のモンスター一覧タブ追加
  • [x] タブに受取可能数バッジ追加
  • [x] アニメーションに獲得数表示追加
  • [x] メインページイベントモーダルにリンクを設置
  • [x] 未発見モンスターの画像上に「?」テキスト
  • [ ] モンスター画像の不足分追加
wada add_label at 2023-02-10T16:15:51: レビュー待ち
wada change_title at 2023-02-10T16:15:57: [WIP]新大陸モンスターリスト 新大陸モンスターリスト

Comment

#25738 by wada at 2023-02-10T16:17:30; updated 2023-02-10T16:17:30

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

細かいデザインやテキストは、開発環境でデバッグする際に調整するので、
動作に問題がないか確認お願いします。

Comment

#25779 by kouho at 2023-02-13T16:41:33; updated 2023-02-13T16:41:33

@wada
NewIslandEvent-MonsterList.tplの284行目S_icon_3_move_upが定義されていないというエラーが出てこちらの画面では報酬GET!のボタンを押しても演出が再生されませんでした。

Comment

#25780 by wada at 2023-02-13T16:42:35; updated 2023-02-13T16:42:35

@kouho
jsのversionを変更してみてください。

Comment

#25781 by kouho at 2023-02-13T16:44:48; updated 2023-02-13T16:44:48

@wada
すみません、test側のバージョン更新できてませんでした。演出再生確認できました。

Comment

#25782 by kouho at 2023-02-13T17:36:05; updated 2023-02-13T17:36:05

@wada
ありがとうございます。全ステージのモンスター討伐して報酬受け取り確認しました。動作確認OKです。

kouho add_label at 2023-02-13T17:36:08: 皇甫 LGTM
wada merge at 2023-02-14T16:06:43: 新大陸モンスターリスト
wada close at 2023-02-14T16:06:43: Close
kouho refer at 2023-03-03T17:08:30: 2646:[WIP]【3/6】新大陸・23回後期
kouho refer at 2023-03-09T11:56:10: 2646:【3/6】新大陸・23回後期

Commit range

base3127b712332da8b99c4dd62d60d2406b4c92e06d
heade76fe493d3a729dfdfc69eeba14e8dddfca16a79
base branchjolly/jr-web:develop
head branchjolly/jr-web:island_monster_list

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed15 filesView patch
statusfile
modifiedlib/SubFunc_mission.inc
modifiedlib/ajax/default_info.inc
modifiedlib/class/const/MissionStageConst.class.php
addedlib/class/controller/JrControllerNewIslandEvent.class.php
modifiedlib/conf/class/NewIslandConfig.class.php
addedlib/models/Newisland_event.php
modifiedlib/models/Newisland_event_model.php
addedlib/models/dao/user_new_island_monster_beat.php
modifiedpublic_html/ajax.php
modifiedpublic_html/index.php
modifiedpublic_html/js/JOLLYROGER.js
modifiedpublic_html/js/JOLLYROGER_func.js
modifiedpublic_html/template/Main.tpl
addedpublic_html/template/NewIslandEvent-MonsterList.tpl
modifiedpublic_html/template/parts/parts_island_info_template.tpl
Patch body is stored as a separate file to keep this page lightweight.