MobRoll = (((MobMR + MobLevel) / 3) / 255) + (RandomFloat(-10, 10) / 100.0)
CasterRoll = (((CasterCha + CasterLevel / 3) / 255) + (RandomFloat(-10, 10) / 100.0)
If the Caster Roll is less than Mob Roll, you get a "Critical" resist, and the mob will aggro. These rolls are only performed on a resist.
|