|
500金钱
--物品掉落回调
function on_DropItem(x, y, looks, color, effectId, name, expand1, dbIdx, count, seeMode)
if expand1 == 3 then
return {showName = name.."【极品+3】",color=249,effectId = 164}
elseif expand1 == 4 then
return {showName = name.."【极品+4】",color=249,effectId = 164}
elseif expand1 == 5 then
return {showName = name.."【极品+5】",color=249,effectId = 164}
elseif expand1 == 6 then
return {showName = name.."【极品+6】",color=249,effectId = 164}
elseif expand1 == 7 then
return {showName = name.."【极品+7】",color=249,effectId = 164}
elseif expand1 == 8 then
return {showName = name.."【极品+8】",color=249,effectId = 164}
elseif expand1 == 10 then
return {showName = name.."【极品+5】",color=249,effectId = 164}
elseif expand1 == 12 then
return {showName = name.."【极品+6】",color=249,effectId = 164}
elseif expand1 == 14 then
return {showName = name.."【极品+7】",color=249,effectId = 164}
elseif expand1 == 16 then
return {showName = name.."【极品+8】",color=249,effectId = 164}
elseif expand1 == 18 then
return {showName = name.."【极品+9】",color=249,effectId = 164}
elseif expand1 == 20 then
return {showName = name.."【极品+10】",color=249,effectId = 164}
elseif expand1 == 21 then
return {showName = name.."【攻速+1】",color=249,effectId = 164}
elseif expand1 == 22 then
return {showName = name.."【攻速+2】",color=249,effectId = 164}
end
end
现在这个值能做到显示极品,不能显示具体是什么属性
求教大神 怎么改成根据 攻击 魔法 道术 攻速 幸运来显示???
|
|