NIFE: Potions Plugin
Posted: Posted June 16th, 2017 by Xhin
This plugin adds Potions, which are drinkable items that alter stats and traits when consumed.
First thing you do is select the plugin and then click the big "Activate!" button inside the Potions Plugin panel.
Create new potions here. This is much like creating new items -- and in fact you are creating new items as you create new potions!
Down at the bottom you see the list of potions. You can edit the item it belongs to or delete it (which also deletes the item it's attached to).
Clicking "Edit Effects" goes here.
Effects are based on NIFE properties.. there's a self-duplicating select box here that lets you add various property-based effects to the potion.
Potions can have multiple effects.
Set Stat [Amount] -- Sets the stat to this amount (ex -- set Health to 75)
Increase Stat by 1 -- Increases the stat by one, unless that would go over the maximum value.
Decrease Stat by 1 -- Decreases the stat by one, unless that would drop it below 0.
Add to Stat [Amount] -- Adds the amount to the stat.
Subtract from Stat [Amount] -- Subtracts from the stat.
Fill Stat -- sets the stat to its maximum value
Drain stat -- sets the stat to 0.
Add trait -- if the property you attached is a trait instead of a stat, drinking the potion will give the drinker this trait.
Remove Trait -- if the drinker has this property, they'll lose it.
^ The above two are particularly useful for element assignment, but you can use it anywhere traits are used (removing characters from the sparring system for example).
Note that anywhere in the above list where you see "[amount]", you use the amount box provided.
You can also change the "Amount Type" from "Value" to "Percent" -- in anything that uses Amount, it then reads the amount as a percentage of the maximum value.
For example if you have:
[Set] Health to  [Percent] -- And their health maximum value is 200, then it sets their health to 100.
Probably not worth adding to this post, but here's what the auto-action looks like.
There are 9 Replies
Reply to: NIFE: Potions Plugin