|

楼主 |
发表于 2012-8-24 10:13
|
显示全部楼层
回复 wang0378 的帖子
这段代码被注释掉了啊?
--内功护体,重写
--[[
for i = 1, 10 do
local kfid = JY.Person[eid]["武功" .. i]
if kfid > 88 and kfid < 109 and kfid ~= 97 and WAR.Person[emenyid]["我方"] ~= WAR.Person[WAR.CurID]["我方"] then
--蛤蟆功 特效
if kfid == 95 and myrandom(20, eid) then
WAR.Person[emenyid][CC.TXWZ2] = JY.Wugong[kfid]["名称"] .. "蓄力"
WAR.Person[emenyid][CC.TXDH] = math.fmod(kfid, 10) + 85
local lv = math.modf(JY.Person[eid]["武功等级" .. i] / 100) + 1
if WAR.tmp[200 + eid] == nil or WAR.tmp[200 + eid] == 0 then
WAR.tmp[200 + eid] = lv * 5
else
WAR.tmp[200 + eid] = WAR.tmp[200 + eid] + lv * 3
end
if not inteam(eid) then --如果是敌人,气防+1000
dng = 1000
end
end
if not myrandom(10, eid) and (eid ~= 9 or not myrandom(10 + i * 4, eid)) and (eid ~= 0 or i ~= 2 or kfid ~= 91 or not JLSD(35, 60, 0) and (GetS(4, 5, 5, 5) ~= 6 or not JLSD(30, 70, 0))) then
elseif not myrandom(10, eid) and JLSD(35, 60, eid) then
else
local lv = math.modf(JY.Person[eid]["武功等级" .. i] / 100) + 1
local wl = JY.Wugong[kfid]["攻击力" .. lv]
if dng < wl then
dng = wl
WAR.Person[emenyid][CC.TXWZ2] = JY.Wugong[kfid]["名称"] .. "护体"
WAR.Person[emenyid][CC.TXDH] = math.fmod(kfid, 10) + 85
WAR.NGHT = kfid
end
end
end
end
]]
|
|