xDafuQ Posted October 30, 2011 Share Posted October 30, 2011 well i wanna edit a pole that hit every1 in x radius...like //heal 50 that heal all players near any1 know how to make it? Quote Link to comment Share on other sites More sharing options...
0 B1ggBoss Posted October 31, 2011 Share Posted October 31, 2011 doesnt poles alredy hit every1 in x radious Oo? Quote Link to comment Share on other sites More sharing options...
0 Tryskell Posted October 31, 2011 Share Posted October 31, 2011 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). Quote Link to comment Share on other sites More sharing options...
0 xDafuQ Posted October 31, 2011 Author Share Posted October 31, 2011 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.. Quote Link to comment Share on other sites More sharing options...
0 xDafuQ Posted November 2, 2011 Author Share Posted November 2, 2011 bump Quote Link to comment Share on other sites More sharing options...
Question
xDafuQ
well i wanna edit a pole that hit every1 in x radius...like //heal 50 that heal all players near
any1 know how to make it?
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
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.