Sqr/passiveobject/character/priest/po_powerofdarknessarrow.nut

25 lines
599 B
Plaintext
Raw Permalink Normal View History

2024-03-18 21:37:40 +08:00
function setCustomData_po_PowerOfDarknessArrow(obj,reciveData)
{
local angle = reciveData.readFloat();
local rate = reciveData.readDword();
sq_SetCustomRotate(obj,angle);
local pAttack = sq_GetCurrentAttackInfo(obj);
sq_SetCurrentAttackBonusRate(pAttack, rate);
}
function onKeyFrameFlag_po_PowerOfDarknessArrow(obj,flagIndex)
{
if(flagIndex == 1) {
if(obj.sq_isMyControlObject()) // 霞翕,廓翻 桧??朝 釭缣啪虏 尔樯棻.
obj.sq_setShake(obj,3,150);
}
return true;
}
function onEndCurrentAni_po_PowerOfDarknessArrow(obj)
{
sq_SendDestroyPacketPassiveObject(obj);
}