Djinni Wiki
Advertisement

function FindKnownSpellByTypeAndLevel (string sType, int nSubtype, int nLevel=-1, object oCreature=OBJECT_SELF)

Returns spell id of known spell of given type and level or -1

  • sType: type of a spell
  • nSubtype: SPELL_SUBTYPE_
  • nLevel: level of a spell (-1 if doesn't matter)
  • Return type: int
  • Include file: nwscriptdefn
Advertisement