make a void something like this
then in something simple like process()Code:Public boolean inmulti() { return (absX >= lowestxvalye && absX <= highestxvalue && absY >= lowestyvaley && absY <= highestyvalue); }
Of course you will have to implement your inmulti() boolean into your attacknpc voids/cases and your attackplayer voids/cases to get the effect to work, that is just a simple deal to it.Code:if(inmulti()) { outStream.createFrame(61); outStream.writeByte(2); }