FANDOM


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

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.