Jump to content


Photo

Question about AI, Mighty Rage and Restoration powers


  • Please log in to reply
No replies to this topic

#1 Gloin1245

Gloin1245
  • Members
  • 8 posts

Posted 02 January 2022 - 06:21 PM

Greetings to all. 

 

I have a question. Normal heroes (in AI) use special abilities.However, they don't use some abilities.
 
For example:
 
1- Dain doesn't use the ''Mighty Rage'' ability.
I want Dain to heal both his own health and the health of other heroes. But it doesn't do that.
 
2- Elrond doesn't use the ''Restoration'' ability.
I want Elrond to heal both his own health and that of other heroes. But it doesn't do that.

 

 

The codes are below. Dain's Mighty Rage ability was not available in AISpecialPowers in Dain.ini.

I added the skill's codes there for the AI to use it.

But both Dain and Elrond don't heal themselves and the heroes around them.

 

 

Dain.ini

 

 

;///////////////////
; AISpecialPowers
;///////////////////
 
 
Behavior = AISpecialPowerUpdate MightyRageAI
CommandButtonName = Command_SpecialAbilityDainMightyRage
SpecialPowerAIType = AI_SPECIAL_POWER_SELFAOEHEALHEROS
End
 
 
 
Elrond.ini
 
 
;///////////////////
; AISpecialPowers
;///////////////////
 
 
Behavior = AISpecialPowerUpdate RestorationAI
CommandButtonName = Command_SpecialAbilityElrondRestoration
SpecialPowerAIType = AI_SPECIAL_POWER_SELFAOEHEALHEROS
End

Edited by Gloin1245, 02 January 2022 - 06:22 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users