后端Lua
全部技术档案
后端Lua
不对,这样就不自动攻击怪物了
后端Lua
function feijianhit(actor, sMsg) local baseDamage = getplaydef(actor, "N$切割加成") baseDamage = tonumber(baseDamage) or 0 local percent = getplaydef(actor, "U220") percent = tonumber(percent) or 0 local value = getconst(actor, "
TXT语法专家
被攻击时怎么让怪物过来
后端Lua
GameEvent = {} local _listeners = {} function GameEvent.add(eventName, func, tag, priority) assert(tag, "Tag must not be nil") if not _listeners[eventName] then _listeners[eventName] = {} end local eventListeners = _listeners[eventName]
TXT语法专家
checkcurrtargetrace = 0
TXT语法专家
百分比血量
TXT语法专家
HUMANHP = <$MAXHP>
TXT语法专家
HUMANHP
TXT语法专家
击杀人物恢复自身血量50%
后端Lua
updateTask
后端Lua
function changetask(actor,monName) if lib:getvalueb(actor, "U60")==1 and actor.map=="时之裂缝" then local bossName = "迷了心窍的疯僧" if monName== bossName then lib:setvalueb(actor, "U58", lib:getvalueb(
后端Lua
function changetask(actor,monName) if lib:getvalueb(actor, "U60")==1 and actor.map=="时之裂缝" then local bossName = "迷了心窍的疯僧" if monName== bossName then lib:setvalueb(actor, "U58", lib:getvalueb(
后端Lua
updateTask
后端Lua