PR

【11/18】クリスマスガチャ #1316

iwamoto opened this at 2021-11-18T13:49:04; closed

Description

opened by iwamoto at 2021-11-18T13:49:04; updated 2026-02-03T15:49:27

概要

【11/29】クリスマスガチャ #1232

web: gacha_1129
db: gacha_1129
img: info_img_1232

仕様(把握できていること)
・毎日1回100コイン
・覚醒合成ボーナス+20(限定カード4種)
・10回連続ガチャはレア度毎に排出枚数が固定
・初回10回連続ガチャ & 10回連続ガチャ の追いおまけはない
・トレード解禁有

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

・開催期間
・カードの出現率と枚数

web & db & info_img をテスト用ブランチにマージして確認してください。

db変更内容

・master_gacha
・master_gacha_item_rare
・master_card
・master_card_skill
・master_composition_bonus

TODO

仕様の変更があれば対応

iwamoto add_label at 2021-11-18T13:49:12: デベロップへマージ
iwamoto assign at 2021-11-18T14:15:41: Not assigned:iwamoto
iwamoto add_label at 2021-11-18T14:15:49: レビュー待ち

Comment

#15323 by iwamoto at 2021-11-18T14:16:09; updated 2021-11-18T14:16:09

@wada @kouho
こちらご確認をお願い致します。

Comment

#15330 by wada at 2021-11-18T15:52:25; updated 2021-11-18T15:52:25

@iwamoto
ガチャチケットのマスタ設定お願いします。

Comment

#15334 by wada at 2021-11-18T16:38:12; updated 2021-11-18T16:38:12

@iwamoto
クリスマス用のアニメーションについて、ローカルで試した感じだと、
Bar-SPGachaExec.inc$result['item_img_path']
Bar-SPGachaAnimation.tpl の演出初期化の画像差し替え対応が必要そうです。

Bar-SPGachaExec.inc

#L641
//カード カードなのにアイテム画像を使用している
$result['item_img_path'] = "item/150/";

#L649 アイテムなのにカード画像を使用している
foreach ($return_data['item_data'] as $item_no => $item_num) {
	$result['item_img_path'] = "card/battle/58/";

Bar-SPGachaAnimation.tpl

#L262 単発だと参照エラー。おそらくすぐ下の`for`文の初期化を利用すれば良さそう
if($("#canvas").data("animation_type") < 3){
	//画像差し替え
	getImageInstanceRecursive(exportRoot.item_anm1.item_kira.item).image = item[0];
	getImageInstanceRecursive(exportRoot.item_anm2.item_kira.item).image = item[1];

Comment

#15335 by kouho at 2021-11-18T16:39:06; updated 2021-11-18T16:39:06

@iwamoto
もし画像の修正でボックスガチャとは異なりますの部分を修正する場合、
ガチャ購入前確認画面の注意事項も修正お願いいたします。
!スクリーンショット 2021-11-18 16

Comment

#15336 by kouho at 2021-11-18T16:49:35; updated 2021-11-18T16:49:35

@iwamoto
「出現率を見る」を押すとエラーが起きますラインナップの確認は問題ないです。
確認してみていただけないでしょうか?
!スクリーンショット 2021-11-18 16

Comment

#15343 by iwamoto at 2021-11-18T17:36:23; updated 2021-11-18T17:36:23

@wada @kouho
ご確認ありがとうございます。
下記3点修正対応を行いました。

1.db master_limited_gacha_ticket.csv更新しました。
2.購入画面の不要な文言を削除しました。
3.GK期間修正ました

また、出現率の件はcommit:5c2a77cで修正対応を行っています

クリスマス用のアニメーションは対応中です

Comment

#15346 by wada at 2021-11-18T17:59:14; updated 2021-11-18T17:59:14

@iwamoto
修正確認OKです

Comment

#15347 by kouho at 2021-11-18T17:59:48; updated 2021-11-18T17:59:48

@iwamoto
修正確認しました。アニメーション以外問題ないと思います。

Comment

#15350 by iwamoto at 2021-11-18T18:54:59; updated 2021-11-18T18:54:59

@wada @kouho
アニメーション対応しました。
確認お願い致します。

Comment

#15351 by kouho at 2021-11-18T19:28:07; updated 2021-11-18T19:28:07

@iwamoto
アニメーション確認OKです。問題ないと思います。

kouho add_label at 2021-11-18T19:28:09: 皇甫 LGTM

Comment

#15353 by wada at 2021-11-18T19:34:45; updated 2021-11-18T19:34:45

@iwamoto
こっちの画像も初期化お願いします。

Bar-SPGachaAnimation.tpl

for(var i=1; i<=$("#canvas").data("get_item_count"); i++){
	getImageInstanceRecursive(exportRoot['item_anm'+i].item_kira.item).image = item[i-1];
	#たぶんこれ
	getImageInstanceRecursive(exportRoot['trajectory_set'+i].item).image = item[i-1];
}

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

Comment

#15356 by iwamoto at 2021-11-19T09:50:58; updated 2021-11-19T09:50:58

@wada @kouho
指摘箇所の修正を行いました。

Comment

#15357 by wada at 2021-11-19T10:02:35; updated 2021-11-19T10:02:35

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

wada add_label at 2021-11-19T10:02:39: 和田 LGTM

Comment

#15361 by kouho at 2021-11-19T10:30:24; updated 2021-11-19T10:30:24

@iwamoto
確認OKです

iwamoto commit at 2021-11-19T12:48:07: 【11/18】クリスマスガチャ #1316 conf解消 ba93491ed5bc6aa5d1acf834872720b4d2eddc7a
iwamoto merge at 2021-11-19T12:48:52: 【11/18】クリスマスガチャ
iwamoto close at 2021-11-19T12:48:52: Close

commit comment

#102 by wada at 2021-11-18T16:29:38; lib/conf/class/SPGachaConfig.class.php / old:54 new:64
5c2a77cdae22b8f0a0fe718b4985a7bdd9eabd26

@iwamoto
デバッグ間に合うのであればクリスマス用のアニメーションを使用して欲しいです。
animation_type=1

commit comment

#103 by wada at 2021-11-18T16:53:51; lib/conf/define_y.inc / old:None new:1435
5c2a77cdae22b8f0a0fe718b4985a7bdd9eabd26

@iwamoto
gk終了期限がガチャ終了日になってます。

Commit range

basea964eaf50cfb7c2152d67bae1142924121194100
headb33b0c98bbf025e21e09174c59f04528059765ca
base branchjolly/jr-web:develop
head branchjolly/jr-web:gacha_1129

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed19 filesView patch
statusfile
modifiedlib/conf/class/SPGachaConfig.class.php
modifiedlib/conf/define_y.inc
modifiedlib/public/Bar-SPGacha.inc
modifiedlib/public/Bar-SPGachaExec.inc
modifiedlib/public/Bar-SPGachaResult.inc
addedpublic_html/images/christmas/_22.jpg
addedpublic_html/images/christmas/_444.jpg
addedpublic_html/images/christmas/_445.jpg
addedpublic_html/images/christmas/_446.jpg
addedpublic_html/images/christmas/_447.jpg
addedpublic_html/images/christmas/_54.jpg
addedpublic_html/images/christmas/_91.jpg
modifiedpublic_html/js/JOLLYROGER.js
modifiedpublic_html/js/gacha_animation_js/christmas_gacha_10_sp.js
modifiedpublic_html/js/gacha_animation_js/christmas_gacha_1_sp.js
modifiedpublic_html/template/Bar-GachaRatioReprint.tpl
modifiedpublic_html/template/Bar-SPGachaAnimation.tpl
modifiedpublic_html/template/Bar-SPGachaCheck.tpl
modifiedpublic_html/template/Bar-SPGacha_152.tpl
Patch body is stored as a separate file to keep this page lightweight.

Review comment

#102 by wada at 2021-11-18T16:29:38; lib/conf/class/SPGachaConfig.class.php / old:54 new:64
5c2a77cdae22b8f0a0fe718b4985a7bdd9eabd26

@iwamoto
デバッグ間に合うのであればクリスマス用のアニメーションを使用して欲しいです。
animation_type=1

Review comment

#103 by wada at 2021-11-18T16:53:51; lib/conf/define_y.inc / old:None new:1435
5c2a77cdae22b8f0a0fe718b4985a7bdd9eabd26

@iwamoto
gk終了期限がガチャ終了日になってます。