Talk:GetMetaMagicFeat

Rationale to diverge from the NWN Lexicon
I've not used the Lexicon article because I believe it to be incorrect on this one. The author of the Lexicon article appears to have missed the actual definitions of the METAMAGIC_* globals in nwscript.nss:

int   METAMAGIC_NONE           = 0; int   METAMAGIC_EMPOWER        = 1; int   METAMAGIC_EXTEND         = 2; int   METAMAGIC_MAXIMIZE       = 4; int   METAMAGIC_QUICKEN        = 8; int   METAMAGIC_SILENT         = 16; int   METAMAGIC_STILL          = 32; int   METAMAGIC_ANY            = 255;

To me these values scream 'bit-flags' and not the exact, is-equal values the Lexicon appears to assume. This could also explain why they believe the function to be unreliable. Amywien 11:01, 6 April 2008 (UTC)