|
--陈家洛 升级加四围
if pid == 75 then
if JY.Person[pid]["拳掌功夫"] >= 0 then
AddPersonAttrib(pid, "拳掌功夫", math.random(3))
end
if JY.Person[pid]["御剑能力"] >= 0 then
AddPersonAttrib(pid, "御剑能力", (7 + math.random(0,1)))
end
if JY.Person[pid]["耍刀技巧"] >= 0 then
AddPersonAttrib(pid, "耍刀技巧", (7 + math.random(0,1)))
end
if JY.Person[pid]["特殊兵器"] >= 0 then
AddPersonAttrib(pid, "特殊兵器", (7 + math.random(0,1)))
end
end
代码没错,在找原因 |
|