30 lines
		
	
	
		
			640 B
		
	
	
	
		
			Plaintext
		
	
	
	
		
		
			
		
	
	
			30 lines
		
	
	
		
			640 B
		
	
	
	
		
			Plaintext
		
	
	
	
|  | 
 | ||
|  | // 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); | ||
|  | 	} | ||
|  | } |