Item buffs

Issue #89 new
Mads Boddum created an issue

There's an effect attached to the item. If there's infinite charges, there's a reuse time. If not, there's a limited amount of charges.

If used when there's a single charge, the item is deleted afterwards.

Comments (2)

  1. Mads Boddum reporter

    StaticItemService needs to properly support loading from serverdata/item/consumable.sdb

    There's a buff_name column which refers to clientdata buff.iff

    There's also a charges column which, if > 0, uses TangibleObject.setCounter() with that charge amount.

    Finally there's a reuse_time column, which is cooldown in seconds.

  2. Log in to comment