说明:
珍珑岛模块依托ExternLua、老NPC脚本、副本模块达到对珍珑岛功能的基本实现。
珍珑岛模块说明:
提供了如下指令:
· RARE_ISLAND_GEN_MOB 地图名 刷怪组编号
· RARE_ISLAND_BEGIN
· RARE_ISLAND_INIT
· RARE_ISLAND_REFRESH_ITEMS
· RARE_ISLAND_KILL_MON
· RARE_ISLAND_KILL_ATK
使用方式请查看引擎包内的珍珑岛示例,此处不再赘述。
刷怪配置:
在珍珑岛\数据\刷怪配置.lua中,通过一个table数组进行刷怪配置,如下所示:
MonName: 怪物名
Direction: 怪物朝向
X: 横坐标
Y: 纵坐标
return {
{
{MonName = '龙龟1', Direction = 3, X = 15, Y = 18},
{MonName = '龙龟1', Direction = 3, X = 16, Y = 17},
{MonName = '龙龟1', Direction = 3, X = 17, Y = 16},
{MonName = '龙龟1', Direction = 3, X = 18, Y = 15},
{MonName = '龙龟1', Direction = 5, X = 21, Y = 15},
{MonName = '龙龟1', Direction = 5, X = 22, Y = 16},
{MonName = '龙龟1', Direction = 5, X = 23, Y = 17},
{MonName = '龙龟1', Direction = 5, X = 24, Y = 18},
},
{
{MonName = '半兽人2', Direction = 3, X = 15, Y = 18},
{MonName = '半兽人2', Direction = 3, X = 16, Y = 17},
{MonName = '半兽人2', Direction = 3, X = 17, Y = 16},
{MonName = '半兽人2', Direction = 3, X = 18, Y = 15},
{MonName = '半兽人2', Direction = 5, X = 21, Y = 15},
{MonName = '半兽人2', Direction = 5, X = 22, Y = 16},
{MonName = '半兽人2', Direction = 5, X = 23, Y = 17},
{MonName = '半兽人2', Direction = 5, X = 24, Y = 18},
},
}
声明:本文系互联网搜索而收集整理,不以盈利性为目的,文字、图文资料源于互联网且共享于互联网。
如有侵权,请联系 yao4fvip#qq.com (#改@) 删除。
如有侵权,请联系 yao4fvip#qq.com (#改@) 删除。