Difference between revisions of "IsSpellTarget"
Jump to navigation
Jump to search
no edit summary
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1))) |
imported>Ez0n3 |
||
Line 1: | Line 1: | ||
Returns 1 if the calling reference is currently being affected by the specified magic item (an [[Actor Effect]] (spell), an [[Object Effect]] (enchantment), or an [[Ingestible]] (drug, potion, chem)). | {{Function | ||
|CSWikiPage = IsSpellTarget | |||
== | |origin = GECK1 | ||
|summary = Returns 1 if the calling reference is currently being affected by the specified magic item (an [[Actor Effect]] (spell), an [[Object Effect]] (enchantment), or an [[Ingestible]] (drug, potion, chem)). | |||
|name = IsSpellTarget | |||
= | |returnVal = 0, 1 | ||
BuddyRef.IsSpellTarget TrainingMedicineHigh | |returnType = int | ||
|referenceType = [ActorRefID] | |||
|arguments = | |||
{{FunctionArgument | |||
|Name = MagicID | |||
}} | |||
|example = BuddyRef.IsSpellTarget TrainingMedicineHigh | |||
This will return 1 if Buddy has the specified Actor Ability. | This will return 1 if Buddy has the specified Actor Ability. | ||
}} | |||
== Notes == | ==Notes== | ||
=== Detecting addictions === | === Detecting addictions === | ||
Line 38: | Line 45: | ||
endif | endif | ||
== See Also == | ==See Also== | ||
[[HasMagicEffect]] | *[[HasMagicEffect]] | ||
[[Category: Functions]] | [[Category:Functions]] | ||
[[Category: Functions (GECK 1.1)]] | [[Category:Functions (GECK 1.1)]] | ||
[[Category:Game Effect Functions]] | [[Category:Game Effect Functions]] | ||
[[Category:Game Effect Functions (GECK 1.1)]] | [[Category:Game Effect Functions (GECK 1.1)]] | ||
[[Category: Condition Functions]] | [[Category:Condition Functions]] | ||
[[Category: Condition Functions (GECK 1.1)]] | [[Category:Condition Functions (GECK 1.1)]] |