News:

SMFNew Installed

+-+-

User+-

Welcome, Guest.
Please login or register.
 
 
 

Login with your social network

Forgot your password?

Site Stats+-

Members
Total Members: 728
Latest: Cho
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 10932
Total Topics: 795
Most Online Today: 389
Most Online Ever: 854
(September 18, 2024, 07:49:37 am)
Users Online
Members: 0
Guests: 344
Total: 344

Author Topic: Change Healing Potion heal amount  (Read 2276 times)

0 Members and 66 Guests are viewing this topic.

Change Healing Potion heal amount
« on: »
Hi,

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?

Share on Bluesky Share on Facebook


Re: Change Healing Potion heal amount
« Reply #1 on: »
Hi and welcome to torchmodders!

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:
Spoiler: Health Potion data (hover to show)

3515.67 for both MIN and MAX is the value that you need to change.

 

Recent Topics+-