Add Math Operations to Custom Hooks and Custom Commands

bubomortis asked for this feature 11 months ago — 1 comment

bubomortis commented 11 months ago

Add a method to parse Math Operations from within Custom Hooks and Custom Commands.

When trying to setup:

giveplus ${entityId} resourceWood ((${player.currency}/100)+50)

Currently it evaluates to:

172 resourceWood (68847/100) 50

When we would like it to evaluate to:

172 resourceWood 738

Join the discussion!

with GitHub to comment