mirror of
https://github.com/Qsgs-Fans/FreeKill.git
synced 2024-11-16 11:42:45 +08:00
b6530eae9d
* vs skill concept * unify card:clone * virtual card * wusheng * exppattern * use virtual card(WIP) * change cardId to card * virtual card log * notify skill invoked * fix coroutine bug; allow vsskill to response * extra_data for askForUseCard Co-authored-by: Ho-spair <linyuy@163.com>
30 lines
689 B
Lua
30 lines
689 B
Lua
-- Fundemental script for FreeKill
|
|
-- Load mods, init the engine, etc.
|
|
|
|
package.path = package.path .. ";./lua/lib/?.lua"
|
|
.. ";./lua/?.lua"
|
|
|
|
-- load libraries
|
|
|
|
class = require "middleclass"
|
|
json = require "json"
|
|
|
|
local GroupUtils = require "core.util"
|
|
TargetGroup, AimGroup = table.unpack(GroupUtils)
|
|
dofile "lua/core/debug.lua"
|
|
|
|
math.randomseed(os.time())
|
|
|
|
-- load core classes
|
|
Engine = require "core.engine"
|
|
Package = require "core.package"
|
|
General = require "core.general"
|
|
Card = require "core.card"
|
|
Exppattern = require "core.exppattern"
|
|
Skill = require "core.skill"
|
|
Player = require "core.player"
|
|
|
|
-- load packages
|
|
dofile "lua/fk_ex.lua"
|
|
Fk = Engine:new()
|