In NPCHandler
search for
somewhere under there, you should see this:Code:public void dropItems(int i) {
just edit it toCode:c.barrowsKillCount++;
That should work.Code://c.barrowsKillCount++;
|
Alright I haven't messed around with anything to do with barrows but I have been messing around with fixing other bugs. What happens is right when you kill a barrows brother you get a killcount, and when the actual body disappears, you gain another killcount...but only on for some brothers, I was messing around in actionhandler and just disabled it because it could easily be abused so I just made it so you had to have exactly 5 killcount to open the chest otherwise it would reset your barrows and teleport you out, but because of this wierd bug, you could just kill 2-3 brothers to open the chest. I'm not sure where the bug would even be, or how to fix it and that's why i'm here. Any assistance would be nice.
In NPCHandler
search for
somewhere under there, you should see this:Code:public void dropItems(int i) {
just edit it toCode:c.barrowsKillCount++;
That should work.Code://c.barrowsKillCount++;
Thanks, it worked. Do you have any idea why commenting this out would have anything to do with fixing it? Where else would it be declared? I'd like to know because i'd rather not just have the fix and not know what i was fixing.
Basically there were 2 instances where it adds to killcount, by adding the // you made one of the instances not count.
Obviously. I know how to code...
I was asking where it was calling it you dunce.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |
Tags for this Thread |