ABLUA写自定义人物属性道具 - 神奇石器发布网
石器时代发布网 - 神奇石器旗下石器私服技术交流网 - 业务联系QQ:420004208

ABLUA写自定义人物属性道具

  • 内容
  • 相关

随手写了一个可自定义改变人物属性的道具,可在道具代码里自行定义地水火风的数值。

LUA代码:

changeattribute1.png


效果图:

changeattribute.gif


道具代码:

地属性药水,地属性药水,喝完后可变成地属性10,10|0|0|0,,,,,,,ITEM_CHANGEATTRIBUTE,,,,,,22040,36195,0,16,2,0,0,-1,,1,,,,,,,,,,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,,0,0,,,,,,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,1,1,0,0,,0,,0,,0,,0,,0
水属性药水,水属性药水,喝完后可变成水属性10,0|10|0|0,,,,,,,ITEM_CHANGEATTRIBUTE,,,,,,22041,36195,0,16,2,0,0,-1,,1,,,,,,,,,,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,,0,0,,,,,,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,1,1,0,0,,0,,0,,0,,0,,0
火属性药水,火属性药水,喝完后可变成火属性10,0|0|10|0,,,,,,,ITEM_CHANGEATTRIBUTE,,,,,,22042,36195,0,16,2,0,0,-1,,1,,,,,,,,,,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,,0,0,,,,,,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,1,1,0,0,,0,,0,,0,,0,,0
风属性药水,风属性药水,喝完后可变成风属性10,0|0|0|10,,,,,,,ITEM_CHANGEATTRIBUTE,,,,,,22043,36195,0,16,2,0,0,-1,,1,,,,,,,,,,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,,0,0,,,,,,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,1,1,0,0,,0,,0,,0,,0,,0


版权声明:若无特殊注明,本文皆为《sa60》原创,转载请保留文章出处。

本文链接:ABLUA写自定义人物属性道具 - https://www.sa60.com/post-339.html

本文标签:

ABLUA写自定义人物属性道具