Djinni Wiki

function AddGreaseAbility (string sAbility, object oItem = OBJECT_SELF,int nMinutes = 0)

Adds current grease ability to item. You can remove it with ClearGrease.

  • sAbility: nazwa identyfikujaca zdolnosc (? ability identifier)
  • oItem: cel (? the item the
  • nMinutes: czas trwania zdolnosci w minutach swiata gry. 0 - ability nie konczy sie.
  • Return type: int; 1 on success, 0 on error (invalid object/ability)
  • Include file: nwscriptdefn