Against player's or npc's? or both...
Mind providing more information other then it doesn't work?
|
Base: PI 474 release
Problem: My GMaul spec isn't working, gimme a hand. If you need any codes I'll post them a.s.a.p.
Errors(Compiling Errors):
Other Information/Media(Pictures, etc):
Thanks in advance.
Against player's or npc's? or both...
Mind providing more information other then it doesn't work?
Other than*
Nope, I don't mind at all
It simply doesn't work. Against anything. When I wield it, it attacks fine but if I click the "Special Attack" button, noting happens. And I mean nothing, the bar doesn't even get highlighted like the rest of the specs. I've already seen a couple of snippets on the GMaul spec, but still nothing.
Since you think you're a pro speller, and become a pro coder, and fuck off.
I'm not in school, therefor I don't need to spell correctly.
inb4Itroll.
goodluck.
Replace Case 29038 in Clickingbuttons.java with this.
Your welcome, post if it worked/had errors.Code:case 29038: c.specBarId = 7486; if (c.playerEquipment[c.playerWeapon] == 4153) { c.getCombat().handleGmaulPlayer(); c.usingSpecial = !c.usingSpecial; c.getItems().updateSpecialBar(); } break;
First off, your first sentence makes no sense. At all. Secondly, it's written therefore. And third, you're never "in" school, you may be "at" school.
Go be a wannabe elsewhere please. Flame your dad because he didn't give you a proper education. It's polite to correct and even politer to be polite when corrected. I don't need your help, there are other people in this community that actually help without being balloon knot a**-ho**s
There's a 'small' problem, the spec now works like this:
GMaul Spec - Screencast
Code:case 29038: c.specBarId = 7486; if (c.specAmount >= 5) { c.attackTimer = 0; c.getCombat().attackPlayer(c.playerIndex); c.usingSpecial = true; c.specAmount -= 5; } c.getCombat().handleGmaulPlayer(); c.getItems().updateSpecialBar(); break;CombatAssistantCode:public void handleGmaulPlayer() { if (c.playerIndex > 0) { Client o = (Client)Server.playerHandler.players[c.playerIndex]; if (c.goodDistance(c.getX(), c.getY(), o.getX(), o.getY(), c.getCombat().getRequiredDistance())) { if (c.getCombat().checkReqs()) { if (c.getCombat().checkSpecAmount(4153)) { boolean hit = Misc.random(c.getCombat().calculateMeleeAttack()) > Misc.random(o.getCombat().calculateMeleeDefence()); int damage = 0; if (hit) damage = Misc.random(c.getCombat().calculateMeleeMaxHit()); if (o.prayerActive[18] && System.currentTimeMillis() - o.protMeleeDelay > 1500) damage *= .6; if(o.playerLevel[3] - damage <= 0) { damage = o.playerLevel[3]; } if(o.playerLevel[3] > 0) { o.handleHitMask(damage); c.startAnimation(1667); o.gfx100(337); o.dealDamage(damage); } } } } } else if(c.npcIndex > 0) { int x = Server.npcHandler.npcs[c.npcIndex].absX; int y = Server.npcHandler.npcs[c.npcIndex].absY; if (c.goodDistance(c.getX(), c.getY(), x, y, 2)) { if (c.getCombat().checkReqs()) { if (c.getCombat().checkSpecAmount(4153)) { int damage = Misc.random(c.getCombat().calculateMeleeMaxHit()); if(Server.npcHandler.npcs[c.npcIndex].HP - damage < 0) { damage = Server.npcHandler.npcs[c.npcIndex].HP; } if(Server.npcHandler.npcs[c.npcIndex].HP > 0) { Server.npcHandler.npcs[c.npcIndex].HP -= damage; Server.npcHandler.npcs[c.npcIndex].handleHitMask(damage); c.startAnimation(1667); c.gfx100(337); } } } } } }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |