Difference between revisions of "Questions"
Jump to navigation
Jump to search
→Getting the spellID of a spell casted on the player
imported>Omzy |
imported>Omzy |
||
Line 789: | Line 789: | ||
Sorry for not signing the comment above, completely slipped my mind--[[User:Omzy|Omzy]] 15:17, 12 June 2006 (EDT) | Sorry for not signing the comment above, completely slipped my mind--[[User:Omzy|Omzy]] 15:17, 12 June 2006 (EDT) | ||
Using IsSpellTarget not only requires the ID of the spell within the command itself, but only returns whether or not the player is being affected by the specified spell. I suppose I could write if/then statements for every single spell, but that would be very time consuming, as there are some few hundred spells. Also, this would only allow my mod to work for spells that are already created. I'm thinking of using an OnMagicEffectHit block with no specified spellID, but I've been stumped at what kind of code I would need to put inside to find the spellID. --[[User:Omzy|Omzy]] 15:27, 12 June 2006 (EDT) |