Hi guys,

Does anyone have any experience with the Spells.CanActivate() function defined in SRL ? When I'm trying to you use it, I'm getting an exception during exection time.
In the drawing file, I'm getting the following exception in the TMufasaBitmap.PeakBrightness function:
Error: You are accessing an invalid point, (24,0) at bitmap[3] at line 175

The code I'm calling is:
if(Spells.CanActivate(CAST_HIGH_LEVEL_ALCHEMY)) then ...

I have tried it with different spells and all give the same exception .. Anyone has some experience with this API call ?