111
This commit is contained in:
24
passiveobject/character/priest/po_powerofdarknessarrow.nut
Normal file
24
passiveobject/character/priest/po_powerofdarknessarrow.nut
Normal file
@@ -0,0 +1,24 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user