Originally Posted by Iriel
You're just making it worse, this is a complex system, there are complex API's.. Just because you dont understand it doesn't make it wrong.
|
This really is NOT a complex system - believe me - and even if it were that is NOT an excuse for API functions which return illogical results...
Let's step back here a second
IsSpellInRange - IS SPELL IN RANGE - why would that return a 'false' value for a spell which WILL cast - which will NOT fail due to a RANGE issue?
That makes NO SENSE...
You do NOT develop a API assuming someone will know that certain conditions will produce 'illogical' results - that's an appalling way to design anything - all functions should produce consistent and logical results for the parameters passed (it makes testing about a MILLION times easier).