This patch is not a bug fix, but rather changes how holy
strength works entirely. Please don't call something a fix
when it's actually a reimplement. :)
Could you explain the intent of the new implementation so we
can know if it fits in?
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry, I got excited and bit off more than I should have.
Anyway, the change follows an alignment based bonus rather
than a straight 1d8.
basically, divide the victim's alignment by 100 (currently is
SELF_ONLY so paladin should be only target), rounding down
(1000 align = 10, 940 align = 9, etc). This is the base
modifier.
If by some chance, the number is negative, there is a
strength penalty applied.
divide the base modifier by 1/2 rounded down, this is the
strength modifier.
the strength modifier is automatically granted by the spell and
number(1,strength modifier) is added to it. That is the bonus
granted by the spell.
So, if you had a 1000 alignment, your range would be 6-10
strength points. (1000 / 100 = 10 / 2 = 5 + 1d5)
If you had a 999 alignment, your range would be 5-8
(999/100 = 9 / 2 = 4 + 1d4)
If you had a 700 alignment, your range would be 4-6 (700 /
1000 = 7 / 2 = 3 + 1d3)
Say that a paladin is routinely running in the 900's for
alignment, the 1d8 average modifier he previously would have
had would be 4.5 strength points. Now he would have 6.5,
but still top out at 8 max.
Essentially, I didn't really care about the amount of the
modifier, I just wanted the paladin's spell to tie into the
alignment somehow.
Updated help topic is submitted.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
based on magic3.c 1.92
Logged In: YES
user_id=19513
This patch is not a bug fix, but rather changes how holy
strength works entirely. Please don't call something a fix
when it's actually a reimplement. :)
Could you explain the intent of the new implementation so we
can know if it fits in?
Thanks.
updated help topic for the spell changes made to spell_holy_strength()
Logged In: YES
user_id=910688
Sorry, I got excited and bit off more than I should have.
Anyway, the change follows an alignment based bonus rather
than a straight 1d8.
basically, divide the victim's alignment by 100 (currently is
SELF_ONLY so paladin should be only target), rounding down
(1000 align = 10, 940 align = 9, etc). This is the base
modifier.
If by some chance, the number is negative, there is a
strength penalty applied.
divide the base modifier by 1/2 rounded down, this is the
strength modifier.
the strength modifier is automatically granted by the spell and
number(1,strength modifier) is added to it. That is the bonus
granted by the spell.
So, if you had a 1000 alignment, your range would be 6-10
strength points. (1000 / 100 = 10 / 2 = 5 + 1d5)
If you had a 999 alignment, your range would be 5-8
(999/100 = 9 / 2 = 4 + 1d4)
If you had a 700 alignment, your range would be 4-6 (700 /
1000 = 7 / 2 = 3 + 1d3)
Say that a paladin is routinely running in the 900's for
alignment, the 1d8 average modifier he previously would have
had would be 4.5 strength points. Now he would have 6.5,
but still top out at 8 max.
Essentially, I didn't really care about the amount of the
modifier, I just wanted the paladin's spell to tie into the
alignment somehow.
Updated help topic is submitted.