Djinni Wiki
Advertisement

function AddAbility (string sAbility, object oObject = OBJECT_SELF, int nMinutes = 0, int nStackable = FALSE)

Adds ability to object (character or item).

  • Returns 1 on success, 0 on error (invalid object/ability)
  • sAbility: nazwa identyfikujaca zdolnosc -
  • sObject: cel
  • nMinutes: czas trwania zdolnosci w minutach swiata gry. 0 - ability nie konczy sie.
  • nStackable: czy ability moze sie nakladac na inne instancje tego samego ability.
  • Return type: int
  • Include file: nwscriptdefn
Advertisement