ShaDoOoW wrote...
If the function ActionCastSpell is used for the casting (and there isnt other way to do it anyway) then the caster level is 10 everytime due to the bug in that function.
You haven't tested above level 5 innate. Innate levels 6 and above will always use innate level * 2 - 1 for the caster level. Yes there is a bug in the function, but the bugged does look at the innate level in spells.2da. Look at the talk page on the wiki under sequencer, and you will see how unbalancing this can become.
I understand why you think cheat casting is a constant 10, and I thought this way about a year ago. However, I found inconsistent results and formulated the 2 * innate level - 1 (minimum of 10) equation which expressed the inconsistencies. ActionCastSpell() will, if not cheat cast, cast the spell normally under the caster's standard caster level, when ActionCastSpell() cheat casts it ignores the caster but formulates the caster level from the innate level in spells.2da. Given the majority of spells are innate level 5 or less, most people who tested this, including myself, convinced ourselves that cheat casting used a constant 10.
Modifié par WhiZard, 15 octobre 2011 - 06:53 .