Jump to content


Photo

Buffing (or DeBuffing) when reaches low health

buff health coding

  • Please log in to reply
2 replies to this topic

#1 bilbothehobbit

bilbothehobbit
  • Members
  • 26 posts
  • Location:Israel
  • Projects:RR_Mod.
  •  Complete Idiot

Posted 19 March 2021 - 10:20 AM

I had an idea, that we can maybe make it that the lower the health of a unit, the lower the damage it makes. Maybe not specifically that, maybe lower the attack speed, but you understand what I mean, I guess.
 
Does anyone has an idea on how to aproach this? 
 


#2 JUS_SAURON

JUS_SAURON

    El Shaddai

  • Members
  • 1,581 posts
  • Location:Trinidad
  • Projects: BFME2 MOD - Power Of The Ring
  •   INI Coder

Posted 08 April 2021 - 10:55 AM

In berserker health code , there is an attribute modifier that should activate when health is low 

I never tested it but it may work 

Then use the appropriate Attribute codes to give him less damage output 



#3 bilbothehobbit

bilbothehobbit
  • Members
  • 26 posts
  • Location:Israel
  • Projects:RR_Mod.
  •  Complete Idiot

Posted 08 April 2021 - 01:07 PM

thanks :)






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users