Jump to content


Photo

HEALTH_MULT problem.


  • Please log in to reply
No replies to this topic

#1 mrk1995

mrk1995
  • Members
  • 38 posts
  • Location:Budapest
  • Projects:LotR BFME III private Lan mod, World of Warcraft mod
  •  Scourge of the Kaldorei

Posted 12 April 2017 - 08:42 PM

Hi, im made a new spell for my hero what icrease the hero health by 20% for 10sec, its work fine, but after the 10sec the healt still buffed dont decrease to the normal unbuffed value.

 

ATTRIBUTEMODIFIER.ini

 

ModifierList BloodGore
Category = SPELL
Modifier = HEALTH_MULT 120%
Duration = 10000 // lasts for 30 seconds
End
 
HERO.ini
 
;--------- Blood Gore-----------------------------------------------------------------------------------
 
Behavior = UnpauseSpecialPowerUpgrade ModuleTag_CremationEnabler
SpecialPowerTemplate = SpecialAbilityBloodGore
TriggeredBy = Upgrade_AragornBladeMaster
End
 
  Behavior = SpecialPowerModule ModuleTag_CremationStarter                ; SpecialAbility is a SpecialPower, SpecialPower is anyting special
SpecialPowerTemplate    = SpecialAbilityBloodGore
StartsPaused = No
End
 
Behavior = HeroModeSpecialAbilityUpdate ModuleTag_CremationUpdate   ; So the difference in SpecialAbility is that it takes timing from this Update, instead of simply firing.
SpecialPowerTemplate    = SpecialAbilityBloodGore
HeroAttributeModifier = BloodGore
HeroEffectDuration = 10000 ; this should sync with the auto ability delay re-fire time in commandButtons.ini
UnpackTime              = 1 ; insant unpack
End

 






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users