Jump to content

[BG2:ToB] - ApplySpell() and ApplySpellRES() observations


aVENGER_(RR)

Recommended Posts

This may be old news, but it's not in the IESDP so here goes. Apparently, spells which are cast via ApplySpell() and ApplySpellRES() don't take into account the caster level of the target and are always applied at the lowest possible level. Contrary to ForceSpell() and co. the ApplySpell() action doesn't care whether the target has any caster levels in the appropriate class or not. For example, a level 20 Cleric using the following code would still cast Draw Upon Holy Might as if he were level 1:

 

IF
HotKey(T)
THEN
RESPONSE #100
	ApplySpell(Myself,CLERIC_DRAW_UPON_HOLY_MIGHT)
END

 

Also, spells cast via ApplySpell() won't leave the feedback string which displays the name of the spell in the combat log (i.e. Viconia - Draw Upon Holy Might: Viconia).

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...