Ok, I think I have proc chance worked out so it will actually be more in line with how it should be working to add a percentage:
Code:
ProcBonus += float(itembonuses.ProcChance + (spellbonuses.ProcChance / 10) + AABonus) / 100.0f;
ProcChance = 0.05f + float(mydex) / 9000.0f;
ProcBonus += (ProcChance * ProcBonus);
ProcChance += ProcBonus;
mlog(COMBAT__PROCS, "Proc chance %.2f (%.2f from bonuses)", ProcChance, ProcBonus);
return ProcChance;
Edit: I tried this code and it didn't work lol. Proccing 100%. Back to the drawing board...