Fixed l0l. Thread closed.
|
So I fixed my veng recently and here's my veng method. The problem I'm facing is that the combat icon shows up with the deflect icon. I've highlighted the line where this is all handled, and the 0 in: c, damage, 0, 3, and the 3 represents the recoil hit. When I comment out that line that I've highlighted it shows the melee icon as a recoil hit from the veng. I need it so that the recoil sprite will show up by itself.
Picture:Code:public void appendVengeance(int otherPlayer, int damage) { if (damage <= 0) return; Player o = Server.playerHandler.players[otherPlayer]; o.forcedText = "Taste vengeance!"; o.forcedChatUpdateRequired = true; o.updateRequired = true; o.vengOn = false; if ((o.constitution - damage) > 0) { damage = (int)(damage * 0.75); if (damage > c.constitution) damage = c.constitution; appendHit(c, damage, 0, 3, false, 0); //3= deflect sprite! c.setHitDiff2(damage); c.setHitUpdateRequired2(true); c.constitution -= damage; c.getPA().refreshSkill(3); } c.updateRequired = true; }
Fixed l0l. Thread closed.
oty for ur veng method
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |