Skip to content

3. Basic Expressions

HafisCZ edited this page Sep 1, 2020 · 1 revision

Values

Current value:

Level

or

Level(player)

Compared value:

When none is selected, is equal to current value

Level(reference)

Difference between values:

difference(Level)

Examples

Damage reduction

trunc(min(Armor / Level, [ 50, 10, 25, 25, 10, 25, 50 ][Class - 1])) + (Class == @battlemage ? 40 : 0)

Daily experience

ceil(difference(XP Total) / max(1, difference(Timestamp) / @1day))

Base attributes gained (Main & Constitution)

difference(Base + Base Constitution)