i want to create a mod that decreases the heal amount of Healing Potions.
For example: The smallest Healing Potion recovers 900 Health over 8 seconds. I want to change it so that the smallest Healing Potion recovers 450 Health over 8 Seconds.
i knew that you can change Player_Generic which seemts to inflict the heal amount, but also the Health of Players. Is it possible to change only the amount of Healing Potions?
Yes, you can change the potions' recovery effect by modifying the values inside the unit data of the potions themselves.
Directory of the potions are located at:
MEDIA>UNITS>ITEMS>POTIONS
You will have to modify the following item units: HEALTHPOTION.DAT HEALTHPOTION2.DAT HEALTHPOTION3.DAT HEALTHPOTION4.DAT HEALTHPOTION5.DAT HEALTHPOTION 6.DAT HEALTHPOTION 7.DAT HEALTHPOTION 8.DAT
Then edit the float values which are the MIN and MAX of the "HPBONUS" effect.
For example:
3515.67 for both MIN and MAX is the value that you need to change.