function RunLuaScript25(actor)
local actorname = actor:getCharName()
local RaceId = actor:getRace()--种族ID
if RaceId == 66 then
actor:sendMsg(0,"玩家 "..actorname.." 进入霸体状态", -1, -1)
elseif RaceId ~= 66 then
actor:sendMsg(0,"英雄 "..actorname.." 进入霸体状态", -1, -1)
end
end
为啥我这段只提示主号得,英雄的也提示主号,是哪里写错了呢?
|