Compare commits
2 Commits
963c89a976
...
acec8f6941
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
acec8f6941 | ||
|
|
8c056f2e74 |
@@ -293,7 +293,7 @@
|
|||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 4.377999999999986,
|
"y": 0,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_lrot": {
|
"_lrot": {
|
||||||
@@ -347,7 +347,7 @@
|
|||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": -0.025,
|
"y": 0,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_lrot": {
|
"_lrot": {
|
||||||
@@ -400,7 +400,7 @@
|
|||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": -111.83499999999998,
|
"y": 0,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_lrot": {
|
"_lrot": {
|
||||||
@@ -518,8 +518,8 @@
|
|||||||
"_target": null,
|
"_target": null,
|
||||||
"_left": 0,
|
"_left": 0,
|
||||||
"_right": 0,
|
"_right": 0,
|
||||||
"_top": 61.83499999999992,
|
"_top": -50.00000000000004,
|
||||||
"_bottom": -161.83499999999998,
|
"_bottom": -50,
|
||||||
"_horizontalCenter": 0,
|
"_horizontalCenter": 0,
|
||||||
"_verticalCenter": 0,
|
"_verticalCenter": 0,
|
||||||
"_isAbsLeft": true,
|
"_isAbsLeft": true,
|
||||||
@@ -598,7 +598,7 @@
|
|||||||
"_top": 590,
|
"_top": 590,
|
||||||
"_bottom": 300,
|
"_bottom": 300,
|
||||||
"_horizontalCenter": 0,
|
"_horizontalCenter": 0,
|
||||||
"_verticalCenter": -61.11,
|
"_verticalCenter": 0,
|
||||||
"_isAbsLeft": true,
|
"_isAbsLeft": true,
|
||||||
"_isAbsRight": true,
|
"_isAbsRight": true,
|
||||||
"_isAbsTop": true,
|
"_isAbsTop": true,
|
||||||
@@ -776,14 +776,14 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 31
|
"__id__": 31
|
||||||
},
|
},
|
||||||
"_alignFlags": 8,
|
"_alignFlags": 9,
|
||||||
"_target": null,
|
"_target": null,
|
||||||
"_left": 20.000000000000284,
|
"_left": 20,
|
||||||
"_right": 0,
|
"_right": 0,
|
||||||
"_top": 0,
|
"_top": 58.063,
|
||||||
"_bottom": 0,
|
"_bottom": 0,
|
||||||
"_horizontalCenter": 0,
|
"_horizontalCenter": 0,
|
||||||
"_verticalCenter": 0,
|
"_verticalCenter": 143.665,
|
||||||
"_isAbsLeft": true,
|
"_isAbsLeft": true,
|
||||||
"_isAbsRight": true,
|
"_isAbsRight": true,
|
||||||
"_isAbsTop": true,
|
"_isAbsTop": true,
|
||||||
@@ -3075,7 +3075,7 @@
|
|||||||
"value": {
|
"value": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": -235,
|
"x": -235,
|
||||||
"y": 27.025,
|
"y": 131.937,
|
||||||
"z": 0
|
"z": 0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -3652,14 +3652,14 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 183
|
"__id__": 183
|
||||||
},
|
},
|
||||||
"_alignFlags": 16,
|
"_alignFlags": 17,
|
||||||
"_target": null,
|
"_target": null,
|
||||||
"_left": 20,
|
"_left": 20,
|
||||||
"_right": 0,
|
"_right": 0,
|
||||||
"_top": 0,
|
"_top": 58.063,
|
||||||
"_bottom": 0,
|
"_bottom": 0,
|
||||||
"_horizontalCenter": 0,
|
"_horizontalCenter": 0,
|
||||||
"_verticalCenter": 0,
|
"_verticalCenter": 143.665,
|
||||||
"_isAbsLeft": true,
|
"_isAbsLeft": true,
|
||||||
"_isAbsRight": true,
|
"_isAbsRight": true,
|
||||||
"_isAbsTop": true,
|
"_isAbsTop": true,
|
||||||
@@ -5951,7 +5951,7 @@
|
|||||||
"value": {
|
"value": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 27.025,
|
"y": 131.937,
|
||||||
"z": 0
|
"z": 0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -6528,14 +6528,14 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 335
|
"__id__": 335
|
||||||
},
|
},
|
||||||
"_alignFlags": 32,
|
"_alignFlags": 33,
|
||||||
"_target": null,
|
"_target": null,
|
||||||
"_left": 20,
|
"_left": 20,
|
||||||
"_right": 20.000000000000284,
|
"_right": 20,
|
||||||
"_top": 0,
|
"_top": 58.063,
|
||||||
"_bottom": 0,
|
"_bottom": 0,
|
||||||
"_horizontalCenter": 0,
|
"_horizontalCenter": 0,
|
||||||
"_verticalCenter": 0,
|
"_verticalCenter": 143.665,
|
||||||
"_isAbsLeft": true,
|
"_isAbsLeft": true,
|
||||||
"_isAbsRight": true,
|
"_isAbsRight": true,
|
||||||
"_isAbsTop": true,
|
"_isAbsTop": true,
|
||||||
@@ -8827,7 +8827,7 @@
|
|||||||
"value": {
|
"value": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 235,
|
"x": 235,
|
||||||
"y": 27.025,
|
"y": 131.937,
|
||||||
"z": 0
|
"z": 0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -9290,7 +9290,7 @@
|
|||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": -349.073,
|
"y": -237.659,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_lrot": {
|
"_lrot": {
|
||||||
@@ -10306,12 +10306,12 @@
|
|||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 523
|
"__id__": 523
|
||||||
},
|
},
|
||||||
"_alignFlags": 2,
|
"_alignFlags": 4,
|
||||||
"_target": null,
|
"_target": null,
|
||||||
"_left": 0,
|
"_left": 0,
|
||||||
"_right": 0,
|
"_right": 0,
|
||||||
"_top": 0,
|
"_top": 0,
|
||||||
"_bottom": 183.25900000000001,
|
"_bottom": -49.07299999999998,
|
||||||
"_horizontalCenter": 0,
|
"_horizontalCenter": 0,
|
||||||
"_verticalCenter": -387.69,
|
"_verticalCenter": -387.69,
|
||||||
"_isAbsLeft": true,
|
"_isAbsLeft": true,
|
||||||
@@ -10357,13 +10357,13 @@
|
|||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 720.0000000000006,
|
"width": 720,
|
||||||
"height": 330
|
"height": 700
|
||||||
},
|
},
|
||||||
"_anchorPoint": {
|
"_anchorPoint": {
|
||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0.5,
|
"x": 0.5,
|
||||||
"y": 0
|
"y": 0.5
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -10390,7 +10390,7 @@
|
|||||||
"_top": 600,
|
"_top": 600,
|
||||||
"_bottom": 0,
|
"_bottom": 0,
|
||||||
"_horizontalCenter": 0,
|
"_horizontalCenter": 0,
|
||||||
"_verticalCenter": 169.378,
|
"_verticalCenter": 0,
|
||||||
"_isAbsLeft": true,
|
"_isAbsLeft": true,
|
||||||
"_isAbsRight": true,
|
"_isAbsRight": true,
|
||||||
"_isAbsTop": true,
|
"_isAbsTop": true,
|
||||||
@@ -10490,7 +10490,7 @@
|
|||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 720.0000000000006,
|
"width": 720,
|
||||||
"height": 1280
|
"height": 1280
|
||||||
},
|
},
|
||||||
"_anchorPoint": {
|
"_anchorPoint": {
|
||||||
@@ -10518,8 +10518,8 @@
|
|||||||
},
|
},
|
||||||
"_alignFlags": 45,
|
"_alignFlags": 45,
|
||||||
"_target": null,
|
"_target": null,
|
||||||
"_left": -3.6514001698782925e-16,
|
"_left": 0,
|
||||||
"_right": -2.8421709430404007e-13,
|
"_right": 0,
|
||||||
"_top": 0,
|
"_top": 0,
|
||||||
"_bottom": 0,
|
"_bottom": 0,
|
||||||
"_horizontalCenter": 0,
|
"_horizontalCenter": 0,
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -97,7 +97,7 @@ HeroList.forEach(uuid => {
|
|||||||
|
|
||||||
const basePoolLv = hero.pool_lv || 1;
|
const basePoolLv = hero.pool_lv || 1;
|
||||||
const baseHeroLv = hero.lv || 1;
|
const baseHeroLv = hero.lv || 1;
|
||||||
const baseCost = 5;
|
const baseCost = FightSet.BASE_COST;
|
||||||
const baseWeight = 25;
|
const baseWeight = 25;
|
||||||
|
|
||||||
// 生成从 basePoolLv 到 CARD_POOL_MAX_LEVEL 的卡牌
|
// 生成从 basePoolLv 到 CARD_POOL_MAX_LEVEL 的卡牌
|
||||||
|
|||||||
@@ -38,6 +38,9 @@ export enum FightSet {
|
|||||||
SHIELD_MAX = 5,
|
SHIELD_MAX = 5,
|
||||||
WAVE_HEAL_RATE = 0.5, // 回合结束时所有英雄恢复最大生命值的比例
|
WAVE_HEAL_RATE = 0.5, // 回合结束时所有英雄恢复最大生命值的比例
|
||||||
PUNCTURE_DOWN = 50,
|
PUNCTURE_DOWN = 50,
|
||||||
|
REFRESH_COST = 1,
|
||||||
|
BASE_COST=3
|
||||||
|
// 刷新成本
|
||||||
}
|
}
|
||||||
|
|
||||||
export const laneIdx = {
|
export const laneIdx = {
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ export class MissionCardComp extends CCComp {
|
|||||||
/** 按钮弹起缩放(峰值) */
|
/** 按钮弹起缩放(峰值) */
|
||||||
private readonly buttonClickScale: number = 1.06;
|
private readonly buttonClickScale: number = 1.06;
|
||||||
/** 抽卡(刷新)费用 */
|
/** 抽卡(刷新)费用 */
|
||||||
refreshCost: number = 2;
|
refreshCost: number = FightSet.REFRESH_COST;
|
||||||
/** 卡牌面板展开/收起动画时长(秒) */
|
/** 卡牌面板展开/收起动画时长(秒) */
|
||||||
cardsPanelMoveDuration: number = 0.2;
|
cardsPanelMoveDuration: number = 0.2;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user