Effectiveness
Scripting with the Effectiveness struct.
The Effectiveness
struct is used by attributes to define strengths and weaknesses against other attributes.
Fields & Properties
Name
Description
Type
Access
attribute
The target attribute.
Attribute
public
multiplier
The effectiveness against the attribute.
float
public
IsStrongAgainst
If the multiplier is less than 1.
bool
public
IsWeakAgainst
If the multiplier is greater than 1.
bool
public
Creating an Effectiveness
This requires a reference to an Attribute.
Last updated