• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

__fix_ranger_roller

Inactive
Joined
Jan 20, 2009
Messages
1,014
Reaction score
1,830
MoverMove.cpp
Code:
		case OBJACT_RANGE_ATTACK:
			{
				if( pObj->GetType() == OT_MOVER )
				{
					PlayCombatMusic();

					OBJID	idTarget = GetCmdParam(0);
					int		nPower = GetCmdParam(1);
					CMover *pTarget = prj.GetMover( idTarget );		// Ÿ°ÙÀÇ ¾ÆÀ̵𸦠Æ÷ÀÎÅÍ·Î ÀÐÀ½.
					if( IsInvalidObj(pTarget) )		break;			// Ÿ°ÙÀÌ °Å½Ã±âÇÑ Æ÷ÀÎÅ͸é Ãë¼Ò½ÃÅ´.
					
#ifdef __FIX_RANGER_ROLLER
					SendActMsg(OBJMSG_STOP);
#endif
					SendActMsg( OBJMSG_STAND );
					SendActMsg( OBJMSG_STOP_TURN );

					ClearDestObj();									// ¸ñÇ¥¿¡ µµ´ÞÇϸé ÃßÀûÀ» ¸ØÃã.
#ifdef __FIX_RANGER_ROLLER
					CMover* pTargetObj = prj.GetMover(idTarget);
					ItemProp* pItemProp = GetActiveHandItemProp();
					if (IsValidObj(pTargetObj) && IsRangeObj(pTargetObj, GetAttackRange(pItemProp->dwAttackRange)) == FALSE)
					{
						SendActMsg(OBJMSG_STOP);
						return;
					}// x¹ÌÅÍ À̳»¿¡ µé¾î¿Í¾ß Èֵθ§.
#endif

					DoAttackRange( pTarget, nPower, 0 );			// nPower¸¦ dwItemID¿¡ ³Ö´Â´Ù.
				}				
			}
			break;

MoverSkill.cpp
Code:
int	 CMover::DoAttackRange( CObj *pTargetObj, DWORD dwItemID, int idSfxHit )
{
	ItemProp* pItemProp = NULL;
	int nPower = 0;

	if( IsInvalidObj(pTargetObj) )
		return -1;

#ifdef __FIX_RANGER_ROLLER
	m_pActMover->SendActMsg(OBJMSG_STOP);
#endif

#ifdef __CLIENT
	if( IsActiveMover() )
	{

0 support will be given by me as you guys never hit the thanks button and(or) say thanks in general.
 
Last edited:
Back
Top