Jump to content
  • 0

radius


xDafuQ

Question

4 answers to this question

Recommended Posts

  • 0

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).

Link to comment
Share on other sites

  • 0

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..

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • 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