后端Lua
后端Lua
后端Lua
killplay(actor, killed)
后端Lua
function newcar(brand) local car = { brand =brand, price = price } function car:brand(brand) self.brand = brand print(car.brand) print(self.brand) return self end return car end
后端Lua
在顶部按钮上添加倒计时怎么添加
后端Lua
写个传送
后端Lua
function feijianhit(actor, sMsg) local msgdata = json2tbl(sMsg) local mapid = getbaseinfo(actor, 3) local monobj = getmonbyuserid(mapid, msgdata.paramList[1]) if monobj then humanhp(monobj, "-", 10000) sendattackeff(mo
后端Lua
<$GETSTRVALUE(T50,飞剑伤害)>比如这个
后端Lua
可以用键值对吗?
后端Lua
function feijianhit(actor, sMsg) local msgdata = json2tbl(sMsg) local mapid = getbaseinfo(actor, 3) local monobj = getmonbyuserid(mapid, msgdata.paramList[1]) if monobj then humanhp(monobj, "-", 10000) sendattackeff(mo
后端Lua
function feijianhit(actor, sMsg) local msgdata = json2tbl(sMsg) local mapid = getbaseinfo(actor, 3) local monobj = getmonbyuserid(mapid, msgdata.paramList[1]) if monobj then humanhp(monobj, "-", "U220") sendattackeff(m
后端Lua
Print:打开界面错误,...server\Mir200\Envir/scripts/game/NPC/xingyunzhuanlun.lua:71: attempt to index global 'SL' (a nil value) -- 后端代码 local xingyunzhuanlun = {} -- 转轮帧映射 local frameToValue = {1, 0, -1, 1, 5, 0, 3, -1} local frameToText = {"+1", "0", "-1",
后端Lua
local npc = {} EquipPos = {[0] = "衣服",[1] = "武器",[2] = "勋章",[3] = "头盔",[4] = "项链",[5] = "手镯(右)" , [6] = "手镯(左)",[7] = "戒指(右)",[8] = "戒指(左)",[10] = "腰带",[11] = "靴子"} npc.Attribute = { attName = { [1] = "血量", [3] = "攻击下限", [4] = "
后端Lua
local moshenyuanli = {} local config = { [1] = { name = "暴击原力Lv1", level = 1, count = 2, type1 = "物品", name1 = "魔神修炼石", value1 = 10, type2 = "货币", name2 = "金币", value2 = 10000, cur_attr_1 = 1, cur_attr_2 = 1, cur_attr_3 = 1, cur_attr_4 = 30 },
后端Lua
local player = {} function player.new(actor) local new = { actor = actor, lv = getbaseinfo(actor,6) } setmetatable(new,{__index = player}) return new end function player:addlv(num) changelevel(self.act
后端Lua