View Single Post
  #12  
Old 08-26-2011, 12:46 AM
beentheredonethat beentheredonethat is offline
Kobold


Join Date: Aug 2011
Posts: 140
Default

Quote:
Originally Posted by Tux [You must be logged in to view images. Log in or Register.]
If CHA did affect charm on live the difference between 100 CHA and max was too small to notice. It did not affect mez and I dont know about lull.

How I'm reading it (i only glanced at it) is charm makes a periodic check (probably per tick) which does use lvl, mr and cha. See here:

http://www.google.com/codesearch#gBb...e\.com&type=cs

Search for "PassCharismaCheck".

Note that this may be modified on P99 and not be accurate here.
just looked more through the code. that makes sense. charisma for charm spells does make a huge difference just as much as the level difference.

r1 = ((targetMR + targetLevel / 3)) / (targetMaxMR + random(-10, 10);
r2 = ((casterCH + casterLevel / 3)) / (casterMaxCH + random(-10, 10);
success = r1 < r2;