I've been trying to creating a trigger that doesn't leak and works efficiently, but so far, I have been unsuccessful.
Example: There is a doctor hero. He has a spell that creates x number of bandages depending on level (level 1 - one bandage, level 2 - two bandages, etc...), but requires y number of scraps of linen before it can be created. However, this linen stacks. So, I only want to remove as much linen as required and not all of it.
Any ideas on how to do it?
Example: There is a doctor hero. He has a spell that creates x number of bandages depending on level (level 1 - one bandage, level 2 - two bandages, etc...), but requires y number of scraps of linen before it can be created. However, this linen stacks. So, I only want to remove as much linen as required and not all of it.
Any ideas on how to do it?