Talk:Cast - Spell

Revision as of 07:28, 3 March 2012 by imported>Cscottydont

Spells cast using this method will use conditionals defined for their effects with akSource as the caster. This was something I was curious about so I tested it. (not extensively but I was able to fire 2 different debug messages based on whether or not the player had a specific ability)
Magnitude of the spell will also benefit from skill level of the caster (maybe from active magic effects too?). Tested with a destruction spell which had 10 magnitude in the ck, which did 15 damage coming from my 90 Destruction level character.
Cscottydont 06:03, 19 February 2012 (EST)

Spells that are script-Cast with the player as the akSource will benefit from perks relevant to the spell being cast.
e.g. If FireSpell is a 100 magnitude spell with MagicDamageFire as a keyword,
FireSpell.Cast(ObjectReference akSource, ObjectReference akTarget)
^ will do 150 damage to akTarget if akSource has both augmented flames perks.
Cscottydont 07:28, 3 March 2012 (EST)
Return to "Cast - Spell" page.