About: API IsSpellInRange   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

This takes into account talents etc. but watch out for the 'nil' return. You will get a 'nil' if: 1. * The spell cannot be cast on the unit. i.e. attempting to check range using 'Frostbolt' on a party member will always return 'nil', similarly testing 'Heal' against an enemy target will also return nil. 2. * If the unit is not 'visible' (see API UnitIsVisible) then you will get a nil, and not a '0' as you might expect. 3. * The unit doesnt exist (e.g. 'target' when you have nothing targetted) 4. * The current player does not know this spell (so you cannot use 'Heal' to test 40 yard range for anyone other than a priest)

AttributesValues
rdfs:label
  • API IsSpellInRange
rdfs:comment
  • This takes into account talents etc. but watch out for the 'nil' return. You will get a 'nil' if: 1. * The spell cannot be cast on the unit. i.e. attempting to check range using 'Frostbolt' on a party member will always return 'nil', similarly testing 'Heal' against an enemy target will also return nil. 2. * If the unit is not 'visible' (see API UnitIsVisible) then you will get a nil, and not a '0' as you might expect. 3. * The unit doesnt exist (e.g. 'target' when you have nothing targetted) 4. * The current player does not know this spell (so you cannot use 'Heal' to test 40 yard range for anyone other than a priest)
dbkwik:wowwiki/pro...iPageUsesTemplate
abstract
  • This takes into account talents etc. but watch out for the 'nil' return. You will get a 'nil' if: 1. * The spell cannot be cast on the unit. i.e. attempting to check range using 'Frostbolt' on a party member will always return 'nil', similarly testing 'Heal' against an enemy target will also return nil. 2. * If the unit is not 'visible' (see API UnitIsVisible) then you will get a nil, and not a '0' as you might expect. 3. * The unit doesnt exist (e.g. 'target' when you have nothing targetted) 4. * The current player does not know this spell (so you cannot use 'Heal' to test 40 yard range for anyone other than a priest) It can be used for scanning raid members distances, but just take care what spell you use. For example scanning heal range will start throwing out 'nil' if a raid member is mind controlled.
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software