You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
82 lines
1.4 KiB
82 lines
1.4 KiB
2 weeks ago
|
import { initialWeapon, initialArmor, initialNeck, initialRing, i18n } from '@/config';
|
||
|
|
||
|
const { t } = i18n;
|
||
|
|
||
|
const weapon = initialWeapon();
|
||
|
const armor = initialArmor();
|
||
|
const neck = initialNeck();
|
||
|
const ring = initialRing();
|
||
|
|
||
|
export default {
|
||
|
sysInfo: [
|
||
|
{ type: 'win', msg: t('welcome.0') },
|
||
|
{ type: 'win', msg: t('welcome.1') },
|
||
|
],
|
||
|
curMenu: null,
|
||
|
equipTip: {
|
||
|
equip: null,
|
||
|
tipShow: false,
|
||
|
compare: false,
|
||
|
tipsStyle: {},
|
||
|
tipsStyle2: {},
|
||
|
},
|
||
|
rebornAttribute: {
|
||
|
hp: 0,
|
||
|
atk: 0,
|
||
|
crit: 0,
|
||
|
critDmg: 0,
|
||
|
def: 0,
|
||
|
bloc: 0,
|
||
|
moveSpeed: 0,
|
||
|
battleSpeed: 0,
|
||
|
},
|
||
|
rebornPoints: {
|
||
|
count: 0,
|
||
|
points: 0,
|
||
|
hp: 0,
|
||
|
atk: 0,
|
||
|
crit: 0,
|
||
|
critDmg: 0,
|
||
|
def: 0,
|
||
|
bloc: 0,
|
||
|
moveSpeed: 0,
|
||
|
battleSpeed: 0,
|
||
|
},
|
||
|
grid: new Array(32),
|
||
|
autoSell: [],
|
||
|
playerAttribute: {
|
||
|
lv: 1,
|
||
|
coins: 0,
|
||
|
healthRecoverySpeed: 1,
|
||
|
endlessLv: 1,
|
||
|
attribute: {
|
||
|
curHp: 200,
|
||
|
hp: 200,
|
||
|
atk: 0,
|
||
|
def: 0,
|
||
|
reducPercent: 0,
|
||
|
bloc: 0,
|
||
|
eva: 0,
|
||
|
crit: 0,
|
||
|
critDmg: 150, // 初始暴击伤害150%
|
||
|
},
|
||
|
weapon: weapon,
|
||
|
armor: armor,
|
||
|
neck: neck,
|
||
|
ring: ring,
|
||
|
},
|
||
|
shop: {
|
||
|
item: [],
|
||
|
waitTime: 60,
|
||
|
freeTimes: 5,
|
||
|
},
|
||
|
battle: {
|
||
|
timeOut: 0,
|
||
|
playerStyle: {
|
||
|
left: '0%',
|
||
|
backgroundPosition: '0px 96px',
|
||
|
},
|
||
|
battleShow: false,
|
||
|
},
|
||
|
};
|