Talk:ActionCastSpellAtObject

Spell DC
It seem that the SpellDC think the caster is a object if the CHEAT is set to TRUE. Here I post the script I used for check the DC as a wizard.

Script 1 : AssignCommand(oPC, ActionCastSpellAtObject(SPELL_SCARE, oPC,METAMAGIC_ANY, TRUE,0,PROJECTILE_PATH_TYPE_DEFAULT, FALSE ));

Scripte scare : int iDC; iDC = GetSpellSaveDC;

int iFeatBonus; iFeatBonus = GetHasFeat(FEAT_SPELL_FOCUS_NECROMANCY)*2 + GetHasFeat(FEAT_GREATER_SPELL_FOCUS_NECROMANCY)*2 + GetHasFeat(FEAT_EPIC_SPELL_FOCUS_NECROMANCY)*2; SendMessageToPC(OBJECT_SELF, "* Default DC :"+IntToString(iDC)); SendMessageToPC(OBJECT_SELF, "* Calculate DC :"+IntToString(11 + GetAbilityModifier (ABILITY_INTELLIGENCE) + iFeatBonus)); }


 * Default DC : 14
 * Calculate DC : 29

--ILKAY 11:40, April 14, 2010 (UTC)