Features: - Combat system with AP/EP hit calculation and three-layer defense - Auto-combat/farming mode - Item system with stacking support - Skill system with levels, milestones, and parent skill sync - Shop system with dynamic pricing - Inventory management with bulk selling - Event system - Game loop with offline earnings - Save/Load system Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
27 lines
447 B
JavaScript
27 lines
447 B
JavaScript
import App from './App'
|
|
|
|
// #ifndef VUE3
|
|
import Vue from 'vue'
|
|
import './uni.promisify.adaptor'
|
|
Vue.config.productionTip = false
|
|
App.mpType = 'app'
|
|
const app = new Vue({
|
|
...App
|
|
})
|
|
app.$mount()
|
|
// #endif
|
|
|
|
// #ifdef VUE3
|
|
import { createSSRApp } from 'vue'
|
|
import { createPinia } from 'pinia'
|
|
|
|
export function createApp() {
|
|
const app = createSSRApp(App)
|
|
const pinia = createPinia()
|
|
app.use(pinia)
|
|
return {
|
|
app,
|
|
pinia
|
|
}
|
|
}
|
|
// #endif
|