You see! I want to understand how to make it! The hero for who I want to make AI must use non-uasual magic skills and diffrend items! How to make something like that?? :
He means use custom spell and custom items.
The ai will use them like it uses their base spell.
For example.
Ai will use life drain if it is at a low enough hp enough.
So if you made a spell based off life drain but you called it Soul drain and it drains mana and hp it will still use it like life drain.
Ai will use rain of fire to burn enemies in an area if there are more enemies than its allies.
If you made the spell heal affected units in the area and called it Rain of Healing the AI will still use it like rain of fire even though it will be healing the enemies more than its allies.
AI will NOT use death pact so nomater what you change it into it will not use it.
You have to use triggers to cast it.
Thoughs are examples of how the AI will cast spells.
It will even cast spells if they have trigger run affects.