OpenLink Software

Usage stats on API IsSpellInRange

 Permalink

an Entity in Data Space: 134.155.108.49:8890

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)

Graph IRICount
http://dbkwik.webdatacommons.org4
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] This material is Open Knowledge Creative Commons License Valid XHTML + RDFa
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Copyright © 2009-2012 OpenLink Software