Base?
|
Hi, so recently i raised a hand cannon to hit higher in the RangeMaxHit.java by using
if(weapon == 15241) {
b *= 5.2;
}
under maxHit
But that is fine for killing npcs and hits a bit too high on players in the wild, how could i add so it only hits high on npcs?
Thank you very much.
Base?
Bump, seems like Taurus just wanted to boost his post count by asking a fairly obvious question
Change:
toCode:if(weapon == 15241) { b *= 5.2; }
Try thatCode:if(weapon == 15241 && c.npcIndex > 1) { b *= 5.2; }
Worked perfect Ill try + rep but new to rune-server haha
It should actually be:
But no prob!Code:if(weapon == 15241 && c.npcIndex > 0) { b *= 5.2; }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |