Get your own free workspace
View
 

SetResistance

Page history last edited by Gamemaster 3 years, 11 months ago

 

SetResistance

Usage:

                SetResistance(Actor, Name, Value)

Description:

The SetResistance command allows you to change the level of a damage type resistance.

Example:

                Function Main()
                        MyRst = Attribute(Actor(), "Piercing")
                        SetResistance(Actor(), "Piercing", MyRst + 5)
                        Output(Actor(), "You received a bonus of 5 resistance to piercing damage!")
                        Return()
                End Function

Comments (0)

You don't have permission to comment on this page.