Jump to content
  • 0

Question

4 answers to this question

Recommended Posts

  • 0
Posted

doesnt poles alredy hit every1 in x radious Oo?

I think he wants to edit the number. Or you're right, his pack is focked up and he asks what you thought :D.

 

Anyway if you speak of the number, doAttackHitByPole( method on L2Character.java reads the radius from getPhysicalAttackRange(, which reads itself from CharStat.java.

 

	/**
 * @return the Physical Attack range (base+modifier) of the L2Character.
 */
public final int getPhysicalAttackRange()
{
	if (_activeChar == null)
		return 1;

	if (_activeChar.isTransformed())
		return _activeChar.getTemplate().getBaseAtkRange();
	// Polearm handled here for now. Basically L2PcInstance could have a function
	// similar to FuncBowAtkRange and NPC are defined in DP.
	L2Weapon weaponItem = _activeChar.getActiveWeaponItem();
	if (weaponItem != null && weaponItem.getItemType() == L2WeaponType.POLE)
		return (int) calcStat(Stats.POWER_ATTACK_RANGE, 66, null, null);

	return (int) calcStat(Stats.POWER_ATTACK_RANGE, _activeChar.getTemplate().getBaseAtkRange(), null, null);
}

As you perhaps can see, it chooses 66 OR the baseAtkRange (40) with modifiers (bow modifies, etc etc).

  • 0
Posted

well it is hitting every1 in radius but i wanna make hit from all sides...back left right and front...

and if possible make it in 1 pole only not all :p but if cant be on 1 only i accept all too..

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock