Quote:
Originally Posted by provocating
Code:
if (foundslot == MainPrimary) {
if (item2->Proc.Effect != 0 && CastToMob()->GetLevel() > item2->Proc.Level) {
CastToMob()->AddProcToWeapon(item2->Proc.Effect, true);
}
This appears to be working. Is this safe or is there a better way of doing it?
|
Well, the fact that sometimes it was working tells me it's got 2 chances to proc, so the code should probably be removed, but I haven't had time to look over everything.