quickdload
New Member
- Joined
- Mar 24, 2024
- Messages
- 5
- Reaction score
- 1
Hi,
Currently when you kill a monster which gives equal or more exp than your level you will gain soul points for 4 minutes. I would like to change the 4 minutes to 30 seconds (for example).
So you kill 1 monster, you gain soul points for 30 seconds then you have to kill another monster to continue regenerating soul points.
Is this possible only with source edits or can anyone dream up some clever lua solution?
Thank you.
My idea is to disable (change value to 0) soul point regeneration (gainsoulticks) in vocations.xml.
Then I would need some kind of lua action that recognises when I gain experience and forces my character to tick soul points for x seconds after this. It wouldn't really matter to me that the experience gained isn't equal or more than my level.
Is this viable? From what I'm aware the food/hp mana regen system uses lua so it must be... right?
Currently when you kill a monster which gives equal or more exp than your level you will gain soul points for 4 minutes. I would like to change the 4 minutes to 30 seconds (for example).
So you kill 1 monster, you gain soul points for 30 seconds then you have to kill another monster to continue regenerating soul points.
Is this possible only with source edits or can anyone dream up some clever lua solution?
Thank you.
Post automatically merged:
My idea is to disable (change value to 0) soul point regeneration (gainsoulticks) in vocations.xml.
Then I would need some kind of lua action that recognises when I gain experience and forces my character to tick soul points for x seconds after this. It wouldn't really matter to me that the experience gained isn't equal or more than my level.
Is this viable? From what I'm aware the food/hp mana regen system uses lua so it must be... right?
Last edited: