STATUS: ONLINE | DISPLAYING 15 ITEMS PER PAGE
后端Lua

ATTACK_list = { [60110] = true , -- 狂屠印 对生命值低于25%的目标,提高10%的伤害结果。 [60120] = true , -- 戮兽印 怪物的伤害提高8% [60130] = true , -- 禁准印 准确+5,敏捷+3 [60140] = true , -- 吸血印 攻杀对目标造成的8%伤害转换成自身生命 [60150] = true , -

后端Lua

local str = "#111" -- 方法1:去掉#号(如果字符串里只有#和数字,这样最简单) local num1 = string.gsub(str, "#", "") release_print("方法1结果:", num1) -- 方法2:直接匹配连续数字(更安全,如果字符串有其他字符也能提取数字) local num2 = string.match(str, "%d+") release_print("方法2结果:", num2) 怎么写如果是连续数字就走方法2如果是单个就走方

后端Lua

has_buff = function(play, buff_id) buff_id = tostring(buff_id) -- 检查T10变量 local t10_data = getplaydef(play, "T10") local cache = {} if t10_data ~= "" then local k, v = pcall(json2tbl, t10_data)

后端Lua

#1或者#111怎么输出1或者输出111来

后端Lua

#11 怎么去除#号直接输出11

后端Lua

ATTACK_func = { -- 通用攻击行为检测 check = function(actor, target, hiter, skillid, damage, model, value) -- 禁止攻击自己英雄 if target == gethero(actor) then return 0 end -- 禁止触发怪物 if ismon(target) and DA

后端Lua

获取字符串中的数字是哪个函数

后端Lua

不要写在杀怪触发,要写在怪物 没有死亡时触发

后端Lua

检测是否字符串中是否包含#怎么写

后端Lua

判断两个人正在攻击怪物是否是同一个,如果是同一个5%几率对怪物造成两人最大攻击+150%的伤害

后端Lua

lua原生函数字符串分割是哪个函数

后端Lua

字符串分割函数是哪个

后端Lua

判断两个人攻击怪物是否是同一个

后端Lua

triggerchat总共有多少个参数

后端Lua

-- 人物攻击前触发 function attackdamage(play, target, hiter, skillid, damage, model, value) release_print("技能id:",skillid) -- 禁止攻击自己英雄 if target == gethero(play) then return 0 end -- 禁止触发怪物 if ismon(target) and DATA.stop_mon[