Thread Rating:
- 0 Votes - 0 Average
- 1
- 2
- 3
- 4
- 5
Nasty Bug Fix I just read.
|
Author |
Message |
Khaos
Master
Posts: 595
Likes Given: 166
Likes Received: 83 in 51 posts
Joined: Mar 2012
Reputation: 11
|
Nasty Bug Fix I just read.
Maxcomplexity Player Damage Bug
Okay, this is nasty and I already forsee the issues with this. Til this is fixed in the core, please use this code I am about to give. It seems like the crafting of several items to fill pack and those on ground reaching maxcomplexity limits is causing equips of the item and setting the amounts to increase. With this increase, it is multiplying the damage according to this post by what seems to be the <amount>. Anyone with a brain player wise is going to craft 1,000 or more of the same item to get their damage to do (<damage>*<amount>). So instead of fixing the damage code, we are going to stop this in their first hit sequence.
I can think of several places to check for this. It should be checked in your crafting though, but I am not posting code for that since a lot of people use varying crafting systems. That would be your responsibility to run checks there.
Code:
on=@HitTry
if (<src.findlayer.layer_hand1.uid.amount> > 1)
src.findlayer.layer_hand1.uid.amount=1
endif
|
|
02-18-2016 07:20 AM |
|
|
User(s) browsing this thread: 1 Guest(s)