//以下函数写入swordman_common.nut
function Berserker_double_knife(obj)
{
if (sq_getGrowType(obj) == 3)
{
if (obj.sq_GetSkillLevel(76) > 0)
{
obj.sq_IntVectClear();
obj.sq_IntVectPush(0);
obj.sq_IntVectPush(0);
obj.sq_IntVectPush(76);
obj.sq_IntVectPush(500);
obj.sq_IntVectPush(350);
obj.sq_IntVectPush(0);
obj.sq_IntVectPush(4);
obj.sq_IntVectPush(4);
obj.sq_AddSetStatePacket(13, STATE_PRIORITY_USER, true);
local skilllevel = sq_GetSkillLevel(obj, 76)
obj.startSkillCoolTime(76, skilllevel, -1)
}
}
}
//以下函数注意重复
function onStartDungeon_Swordman(obj)
{
if (!obj) return;
Berserker_double_knife(obj);
return;
}
文件来自于 贴吧ID:qyy8802
暂无评论内容