mirror of
https://github.com/Qsgs-Fans/FreeKill.git
synced 2024-11-16 11:42:45 +08:00
c6d883eccf
* huatuo * biyue * gender of player * let tablepile smaller * card emotions * remove getOtherPlayers * guicai * skill audio * card audio * death audio * bgm * damage sound * local bgm * add more skill audio * android: dont link to quickcontrol2 * android: fix ifndef * yield only when need * modify cpp according to clazy * reduce malloc times * revert yield * qingguo * fix back to lobby * use compact json in cpp * notifySkillInvoke animation * util: string2json * losehp; tablepile fix * judge result animation * add scrollbar for logedit * add lock on waitForReply * fix: virtual jink has no effect * tiandu * fix: duplicated cards when related to equiparea * ui: disable okcancel when replying * ui: disable invaild card when responding * game: skill & card use history * game: more judge on vsskill's canUse * luoyi * login page i18n * i18n for server error message * tuxi * expand equip area when needed * add footnote to cards from pile * ui: only filter CanUseCard when playing * expand equip when responding * prompt * prompt for askforchoice * guanxing * fix guanxing * tieqi * liuli * doc for trigger skill * xiaoji * lianying * fanjian * rende * add skill's subclass * TODO: add tmd skill functions for other cards * paoxiao * qicai * guose * yiji (WIP)
32 lines
795 B
Lua
32 lines
795 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"
|
|
UsableSkill = require "core.skill_type.usable_skill"
|
|
StatusSkill = require "core.skill_type.status_skill"
|
|
Player = require "core.player"
|
|
|
|
-- load packages
|
|
dofile "lua/fk_ex.lua"
|
|
Fk = Engine:new()
|