重新添加轮次和回合的锁视和手牌上限提醒

---------

Co-authored-by: notify <notify-ctrl@qq.com>
This commit is contained in:
YoumuKon 2024-02-27 17:47:56 +08:00 committed by GitHub
parent dfbe59e2b6
commit 1209ca43fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 15 additions and 5 deletions

View File

@ -1,6 +1,6 @@
# ChangeLog
## v0.4.8
## v0.4.8 & v0.4.9
- Qml: 新增leval函数可获得lua表达式的值
- 新增AbstractRoom类 去除冗余

View File

@ -6,7 +6,7 @@
cmake_minimum_required(VERSION 3.16)
project(FreeKill VERSION 0.4.8)
project(FreeKill VERSION 0.4.9)
add_definitions(-DFK_VERSION=\"${CMAKE_PROJECT_VERSION}\")
find_package(Qt6 REQUIRED COMPONENTS

View File

@ -3,8 +3,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.notify.FreeKill"
android:installLocation="preferExternal"
android:versionCode="408"
android:versionName="0.4.8">
android:versionCode="409"
android:versionName="0.4.9">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

View File

@ -321,7 +321,7 @@ FreeKill使用的是libgit2的C API与此同时使用Git完成拓展包的下
["Resume"] = "继续",
["Bulletin Info"] = [==[
## v0.4.8
## v0.4.9
bug

View File

@ -187,6 +187,11 @@ GameEvent.cleaners[GameEvent.Round] = function(self)
end
end
end
for _, p in ipairs(room.players) do
p:filterHandcards()
room:broadcastProperty(p, "MaxCards")
end
end
GameEvent.prepare_funcs[GameEvent.Turn] = function(self)
@ -262,6 +267,11 @@ GameEvent.cleaners[GameEvent.Turn] = function(self)
end
end
end
for _, p in ipairs(room.players) do
p:filterHandcards()
room:broadcastProperty(p, "MaxCards")
end
end
GameEvent.functions[GameEvent.Phase] = function(self)