Changelog: v0.2.6

This commit is contained in:
notify 2023-06-24 15:05:58 +08:00
parent 37757abbad
commit 2f93f7d59c
7 changed files with 38 additions and 30 deletions

View File

@ -2,6 +2,27 @@
___
## v0.2.6
新功能:
* 可以用cardMark在牌上写字了目前没有提供任何自动清理措施
* 没用的托管按钮改成了反选按钮
* 新增“酒杯”交互表情
bug修复
* 修复pattern相关的bug
* 修复锁视串房bug
* 拼点牌套壳了一层虚拟牌
* 修复客户端cost_data等
值得注意的地方:
使用卡牌之前会根据锁视技重新决定使用的卡牌;因此锁视技只判断手牌的话必然失效!
___
## v0.2.5
修复了堆积如山的bug

View File

@ -2,7 +2,7 @@
cmake_minimum_required(VERSION 3.16)
project(FreeKill VERSION 0.2.5)
project(FreeKill VERSION 0.2.6)
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="205"
android:versionName="0.2.5">
android:versionCode="206"
android:versionName="0.2.6">
<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

@ -224,32 +224,9 @@ FreeKill使用的是libgit2的C API与此同时使用Git完成拓展包的下
["Back To Lobby"] = "返回大厅",
["Bulletin Info"] = [==[
## v0.2.4
## v0.2.6
1. bug
2. 线10线
3. askfordiscard禁止编辑已传入的maxNum/minNum
4. getSuitString可以返回符号
5. getSuitCompletedString **+**
6. Dockerfile
7.
8. bug
9.
10. AOE不可以被使用
11. ComboBox
12. exclusive_targets使()
13. 线
14. interaction喂nil或者空choices可以禁止出interaction小黑框
15. /prompt
16.
17. 使线
18.
19. bug以及若干与旁观有关的bug
20. hash相同
21.
22.
使便bug
]==],
}

View File

@ -27,6 +27,9 @@ end
function UsableSkill:withinTimesLimit(player, scope, card, card_name, to)
scope = scope or Player.HistoryTurn
local status_skills = Fk:currentRoom().status_skills[TargetModSkill] or Util.DummyTable
if not card and self.name:endsWith("_skill") then
card = Fk:cloneCard(self.name:sub(1, #self.name - 6))
end
for _, skill in ipairs(status_skills) do
if skill:bypassTimesCheck(player, self, scope, card, to) then return true end
end
@ -44,6 +47,9 @@ end
function UsableSkill:withinDistanceLimit(player, isattack, card, to)
local status_skills = Fk:currentRoom().status_skills[TargetModSkill] or Util.DummyTable
if not card and self.name:endsWith("_skill") then
card = Fk:cloneCard(self.name:sub(1, #self.name - 6))
end
for _, skill in ipairs(status_skills) do
if skill:bypassDistancesCheck(player, self, card, to) then return true end
end

View File

@ -344,6 +344,10 @@ end
function ServerPlayer:showCards(cards)
cards = Card:getIdList(cards)
for _, id in ipairs(cards) do
Fk:filterCard(id, self)
end
local room = self.room
room:sendLog{
type = "#ShowCard",

View File

@ -6,7 +6,7 @@ extension.metadata = require "packages.standard_cards.metadata"
local global_can_use = function(self, player, card)
local room = Fk:currentRoom()
for _, p in ipairs(room.alive_players) do
if not player:isProhibited(p, card) then
if not (card and player:isProhibited(p, card)) then
return true
end
end
@ -15,7 +15,7 @@ end
local aoe_can_use = function(self, player, card)
local room = Fk:currentRoom()
for _, p in ipairs(room.alive_players) do
if p ~= player and not player:isProhibited(p, card) then
if p ~= player and not (card and player:isProhibited(p, card)) then
return true
end
end