Well. Not at home right now but i will try to explain it as better as i can.
Once you imported the DDS into your map, you can create an event that detects when a unit is take damage.
1. Create a new trigger, name it moonglave buff or whatever.
- Create a new event. Choose "Value of game real variable" Select Damage Event and set it equal to 1.
You should have something like this (it's not accurate 100% because im not on my pc)
-
Event - Damage Event becomes equal to 1
2. Create a new condition.
- Select "Unit-type comparison" and in the first comparison value put "DamageEventSource", in the seocnd put the hero that has moonglaive ability.
It should look like this
-
Condition - Unit-type of DamageEventSource equal to YourHero_UnitName
3. Create a dummy unit, just search in this site how to make one. Give the dummy unit an ability that has a similar effect like poison globe.
- Create 3 new actions.
- First action is Create Unit at location. The unit created is the dummy unit you just made before.
- Second action. Issue order to unit. You give the dummy unit the order to cast the ability for poison globe. The target will be "DamageEventTarget" that is the unit that has been damaged by the hero.
-Then you give the dummy a timer, there is an action for that i dont remember the proper name, that destroy it after 1 second or less