|
I know this has been probably posted about in this section numerous times, but I am still yet to find an actual fix (I don't want to be spoon fed, but I would like some assistance as to how to fix the Granite Maul special attack)
The problem currently is, you use another special attack (for example dragon claws) and try to combo it with the Granite Maul special attack (now the kicker, it doesn't initiate the special attack! It just wastes the special)
PlayerCombat.java
Line 4216 to 4233
Any ideas?Code:case 4153: player.setNextAnimation(new Animation(1667)); player.setNextGraphics(new Graphics(340, 0, 96 << 16)); delayNormalHit( weaponId, attackStyle, getMeleeHit( player, getRandomMaxHit(player, weaponId, attackStyle, false, true, 1.1, true))); break; } player.getActionManager().setActionDelay(4); } return true; } return true; }
It surely does work because we use that in Turmoil. Are you sure you used the right post? The one we use is in a reply, not the thread.
http://www.rune-server.org/runescape...ml#post4753870
Yeah I used Al4n's reply, but I am pretty sure I am just putting things in the wrong places :\ Trying my best to learn here, but it gets so frustrating.
I know this
Goes at the top of the PlayerCombat class,Code:private boolean gmaulSpecCheapFix; public boolean getGmaulSpecCheapFix() { return gmaulSpecCheapFix; } public void gmaulSpecCheapFix(boolean b) { gmaulSpecCheapFix = b; }
and this
Goes somewhere belowCode:if (player.getGmaulSpecCheapFix() && weaponId == 4153) return 0;
But as for the rest of itCode:private int getMeleeCombatDelay(Player player, int weaponId) {
AndCode:case 4153: combatDefinitions.setInstantAttack(true); combatDefinitions.switchUsingSpecialAttack(); Entity target = (Entity) getTemporaryAttributtes().get( "last_target"); if (target != null && target.getTemporaryAttributtes().get("last_attacker") == this) { if (!(getActionManager().getAction() instanceof PlayerCombat) || ((PlayerCombat) getActionManager().getAction()) .getTarget() != target) { getActionManager().setAction(new PlayerCombat(target)); } } gmaulSpecCheapFix(true); break;
I don't know which one to place in Private Boolean checkAll (line 4079), and which one goes to initiate the actual special attack.Code:case 4153: player.setNextAnimation(new Animation(1667)); player.setNextGraphics(new Graphics(340, 0, 96 << 16)); delayNormalHit( weaponId, attackStyle, getMeleeHit( player, getRandomMaxHit(player, weaponId, attackStyle, false, true, 1.1, true))); player.gmaulSpecCheapFix(true); break;
change actiondelay to 0
removes the delay on the special @ levi, it worked for me .
Don't just throw a fix at me, if you could, please explain when you get on a computer as to why it goes in so and so (and so on) and what it is doing ect. I want to learn, so it would be appreciated if you could explain it to the best of your ability.
Didn't work :\ Doesn't change the special attack in the least, just makes the Granite Maul hit right after it uses its spec.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |