Hi! Look, your mistake is that for variables of type “MAP”, the set
must be done with an if
.
Your mistake is this:
set HealedMap[who] = 0.0
That’s a “Map” variable, and you should set it like this:
if:
set HealedMap[who] = 0.0
However, keep in mind that many times you need to have the variable initialized. When you create that variable, it’s Null
by default.
Hope this helps you