Djinni Wiki
Advertisement

function SetProtectionPoints (object oTarget, float fNumPoints, float fEnergyFading, int nSpellID, string sEffectName, int nEffectLevel)

Applies protection effect to given targets.

  • oTarget: target
  • fNumPoints: number of protection points
  • fEnergyFading: base points decay ratio (pts/sec)
  • nSpellID: ID of spell applying this effect
  • sEffectName:
  • nEffectLevel: effect to apply


  • Return type: void
  • Include file: nwscriptdefn
Advertisement