That isn't actually how Ritual Dagger works since that trigger heals instantly instead of over time, but it will get you very close to what you need. Or maybe you want it to be instant?
Anyway, when Setting
TempGroup you'll see a list of
Functions. In those Functions you will find "Units within range matching". After clicking that you will see a new field that you can click and edit to use any kind of Condition you want. See Chaosium's post for the exact Condition you want.
To further explain, Conditions are broken up into many categories (
Comparisons), each dealing with different types of things.
In this case we're looking for a
Boolean Comparison Condition. You can determine which type of Condition you need by looking at the terminology used:
-
(Matching unit) belongs to an ally of (Triggering player) Equal to True
Note how it says
Equal to True at the end. That's the value of the Condition. The only time you'll see the words
Equal to True or
Equal to False is when you're dealing with Booleans. A Boolean is like a switch that can either be True or False. In this case it's used to determine whether some game logic is True or False.
Using this same logic, we can determine that when we see something like this:
-
(Something) Equal to 100
We know it's an
Integer Comparison because it's value
100 is an Integer (a whole number).
This would be a
Real Comparison because it's value
100.00 is a Real (a fractional number):
-
(Something) Equal to 100.00
This would be a
Unit-Type Comparison because it's value
Footman is a Unit-Type (the Units you edit/create in the Object Editor):
-
(Something) Equal to Footman
Hopefully this helps you understand better.