111
This commit is contained in:
29
character/atmage/windstrike/po_wind_strike.nut
Normal file
29
character/atmage/windstrike/po_wind_strike.nut
Normal file
@@ -0,0 +1,29 @@
|
||||
|
||||
// setCustomData
|
||||
function setCustomData_po_ATWindStrike(obj, receiveData)
|
||||
{
|
||||
if(!obj)
|
||||
return;
|
||||
|
||||
local attackBonusRate = receiveData.readDword();// 奢问溘(%)
|
||||
local power = receiveData.readDword(); // 奢问溘+
|
||||
local upForce = receiveData.readWord(); // 嗥办朝 ?
|
||||
|
||||
local attackInfo = sq_GetCurrentAttackInfo(obj);
|
||||
sq_SetCurrentAttackBonusRate(attackInfo, attackBonusRate);
|
||||
sq_SetCurrentAttackPower(attackInfo, power);
|
||||
sq_SetCurrentAttacknUpForce(attackInfo, upForce);
|
||||
}
|
||||
|
||||
|
||||
|
||||
function onEndCurrentAni_po_ATWindStrike(obj)
|
||||
{
|
||||
if(!obj)
|
||||
return;
|
||||
|
||||
if(obj.isMyControlObject())
|
||||
{
|
||||
sq_SendDestroyPacketPassiveObject(obj);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user