View Single Post
  #15  
Old 01-22-2016, 05:11 PM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,164
Default

Quote:
Originally Posted by provocating View Post
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.
Reply With Quote