Difference between revisions of "Talk:Cast - Spell"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Cscottydont
imported>Cscottydont
Line 8: Line 8:
:^ will do 150 damage to akTarget if akSource has both augmented flames perks.<br>
:^ will do 150 damage to akTarget if akSource has both augmented flames perks.<br>
:[[User:Cscottydont|Cscottydont]] 07:28, 3 March 2012 (EST)
:[[User:Cscottydont|Cscottydont]] 07:28, 3 March 2012 (EST)
<br><br>
Using this function will invalidate (cause it to return 0/false when it should return 1/true) any ongoing isDualCasting checks on akSource.  So any mod that makes use of the cast - spell function will conflict with any mod that utilizes the isDualCasting condition.  The same is true of the remotecast - spell function. <br>
[[User:Cscottydont|Cscottydont]] ([[User talk:Cscottydont|talk]]) 2013-01-29T15:32:26 (EST)

Revision as of 15:32, 29 January 2013

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)




Using this function will invalidate (cause it to return 0/false when it should return 1/true) any ongoing isDualCasting checks on akSource. So any mod that makes use of the cast - spell function will conflict with any mod that utilizes the isDualCasting condition. The same is true of the remotecast - spell function.
Cscottydont (talk) 2013-01-29T15:32:26 (EST)