Hi! New to the software, learning the ropes.
In this code I've set the Enemy
to Punch if the attackOdds
are less than 5.
However, I'd like this number to be different for each type of Enemy
, so I want to avoid hard-coding that 5 and use an expression instead.
The problem is that the Condition of the Enemy
only allows me to select Family Instance Variables.
Does anyone know the best practice for this please?