Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Syndrome that boosts stats doesn't work  (Read 768 times)

MrOrangeHorseman

  • Bay Watcher
    • View Profile
Syndrome that boosts stats doesn't work
« on: December 01, 2019, 01:28:11 pm »

I'm modding in a white magic secret with the power to heal people, and I created a syndrome for their healing spell that gives maximum recuperation. However, it doesn't actually seem to do anything. What am I doing wrong?

Code: [Select]
[INTERACTION:REGENERATE]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_CANNOT_TARGET_IF_ALREADY_AFFECTED]
[IT_MANUAL_INPUT:target]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:Regenerated]
[SYNDROME]
[CE_PHYS_ATT_CHANGE:RECUPERATION:5000:ABRUPT:START:0:END:10]
Logged
I added lice to hobbit feet last night.
Due to a modding error, I once got sieged by an army of toads lead by a pyromancer. Not toadmen, not giant toads, but toads. The kind cats murder.

Enemy post

  • Bay Watcher
  • Modder/GM
    • View Profile
Re: Syndrome that boosts stats doesn't work
« Reply #1 on: December 01, 2019, 02:04:49 pm »

I think all boosting recuperation really does is give subtly quicker recovery from injuries, similar to a hydra. Given the low duration, I don't think you're giving it enough time to do anything.

If you want instant perfect healing, you could make the interaction transform people for a tick. The player almost certainly won't see the transformation since it goes by too fast, but creatures are fully healed after changing back.
Logged
My mods and forum games.
Enemy post has claimed the title of Dragonsong the Harmonic of Melodious Exaltion!

MrOrangeHorseman

  • Bay Watcher
    • View Profile
Re: Syndrome that boosts stats doesn't work
« Reply #2 on: December 01, 2019, 02:39:42 pm »

I think all boosting recuperation really does is give subtly quicker recovery from injuries, similar to a hydra. Given the low duration, I don't think you're giving it enough time to do anything.

If you want instant perfect healing, you could make the interaction transform people for a tick. The player almost certainly won't see the transformation since it goes by too fast, but creatures are fully healed after changing back.
Alright, that seems to work. Thanks!
Logged
I added lice to hobbit feet last night.
Due to a modding error, I once got sieged by an army of toads lead by a pyromancer. Not toadmen, not giant toads, but toads. The kind cats murder.

Enemy post

  • Bay Watcher
  • Modder/GM
    • View Profile
Re: Syndrome that boosts stats doesn't work
« Reply #3 on: December 01, 2019, 02:45:11 pm »

You're welcome!
Logged
My mods and forum games.
Enemy post has claimed the title of Dragonsong the Harmonic of Melodious Exaltion!