Ghoul MultiFork - Neg. Healing Mod Instead of Neg. Speed, also Ghoul Buff + Ghouls Dont Breathe Tinker Fix
New Negative Healing Mod for Ghoul instead of Global Speed Penalty, also Undead Tinker Fix for Ghouls Don't Breathe Addon, and Ghoul Buff changes included.
Not compatible with: Ghoul Buff addon, Ghouls Dont Breathe addon, Ghoul Global Speed Tweak addon because they change similar things.
Also on Steam.
Ghoul Multi Fork - Including Healing Penalty, Speed Now 100%
Moderator: Moderator
-
- Archmage
- Posts: 366
- Joined: Sat Dec 13, 2014 3:38 pm
Re: Ghoul Multi Fork - Including Healing Penalty, Speed Now
I like this, I only think the healing should not scale up with level. A permanent -50% healing mod would make more sense (and feel less op)
-
- Archmage
- Posts: 366
- Joined: Sat Dec 13, 2014 3:38 pm
Re: Ghoul Multi Fork - Including Healing Penalty, Speed Now
At this stage I will do this as well as removing the +20% Global Speed that was introduced since 1.5.5 since that would be overkill. Probably be able to release the new version in the near future - just got back into TOME and just got back into modding tonight. I will keep the undead healing and possible debuff removal in the Retch skill at this point in time.
Do you mean a starting baseline of 0.5 of normal healing mod, or 0.5 regardless of items and skills etc? I'm learning towards to the former, but I am open to suggestions.
Do you mean a starting baseline of 0.5 of normal healing mod, or 0.5 regardless of items and skills etc? I'm learning towards to the former, but I am open to suggestions.
-
- Archmage
- Posts: 366
- Joined: Sat Dec 13, 2014 3:38 pm
Re: Ghoul Multi Fork - Including Healing Penalty, Speed Now
I am changing EFF_RETCHED so there is no speed bonus.
I also want to change the effect description.
I'm using a 'ToME:load' hook.
This works fine without changing the long_desc.
However, when I also try to change the string using the following, the game hangs without crashing and without an error message with the screen flashing very fast:
From the log files there were tons of errors like this from all over:
So I feel that I might have been defining that last command wrong.
Additional Question: Is there any difference between the chance of applying a negative effect on hitting an enemy/a specified check using one or more of your stats (such as sum of Strength and Constitution) against the enemy's stats (such as Physical Power)? Is it possible to do both: do a specified check only if you land a hit (melee, ranged or other type of damage such as spell) using an attack, talent or item?
Thank you for your help!
I also want to change the effect description.
I'm using a 'ToME:load' hook.
This works fine without changing the long_desc.
However, when I also try to change the string using the following, the game hangs without crashing and without an error message with the screen flashing very fast:
Code: Select all
local Effects = require 'engine.interface.ActorTemporaryEffects'
local TemporaryEffectDefinition = Effects.tempeffect_def
TemporaryEffectDefinition.EFF_RETCHED.activate = function(self, eff)
-- Do nothing.
end
-- Modifying long_desc() to change the description.
TemporaryEffectDefinition.EFF_RETCHED.long_desc = 'Since the Ghoul Global Speed Penalty has been removed, they no longer get a Global Speed Boost when in their own Retch.'
Code: Select all
Lua Error: /mod/class/uiset/Minimalist.lua:1154: attempt to call field 'long_desc'
Additional Question: Is there any difference between the chance of applying a negative effect on hitting an enemy/a specified check using one or more of your stats (such as sum of Strength and Constitution) against the enemy's stats (such as Physical Power)? Is it possible to do both: do a specified check only if you land a hit (melee, ranged or other type of damage such as spell) using an attack, talent or item?
Thank you for your help!
Re: Ghoul Multi Fork - Including Healing Penalty, Speed Now
long_desc should always be a function that returns a string. It can't just be a string.
My feedback meter decays into coding. Give me feedback and I make mods.
-
- Archmage
- Posts: 366
- Joined: Sat Dec 13, 2014 3:38 pm
Re: Ghoul Multi Fork - Including Healing Penalty, Speed Now
Thanks for the quick reply!
Do you know any answers regarding the second question/s?

Re: Ghoul Multi Fork - Including Healing Penalty, Speed Now
I can't really parse it, but I think the answers are:
Yes, there is a difference.
and Yes, it is possible to do both.
Yes, there is a difference.
and Yes, it is possible to do both.
My feedback meter decays into coding. Give me feedback and I make mods.