Constructor # new DnDWildMagic() Source: modules/DnDWildMagic.js, line 237 Methods # (static) slotExpended(actor, update) → {boolean|Object} Standard surge "pre-check" function which determines if this particular actor update represents the use of a spell slot. This is the default pre-check handler used if one is not supplied by the caller of DnDWildMagic.registerHandler Parameters: Name Type Description actor Actor5e actor under update (pre-update state) update Object update to be applied to the actor Source: modules/DnDWildMagic.js, line 450 See: DnDWildMagic.registerHandler Returns: false if no slot was used, or an Object containing spellLevel if the surge occured and from which slot level. Type boolean | Object