DismissBuff

From Secondhand Lands

Jump to: navigation, search

Dismisses a buff for a specific entity. Only buffs with the dismissable flag can be removed.

Parameters:

  • buffed entity cookiee - the entity that have a buff dismissed
  • creator entity cookiee - the entity that created the buff
  • buff name - all buffs with this name will be dismissed.

Returns: nothing

Example:

shl.dismissBuff(
   gPlayer,
   gPlayer,
   "granite butt");
Personal tools