Happy halloween to everyone! I had a custom formula for my game. I wanted to take inspiration from the ttrpg game manual that I brought through Amazon called Fabula Ultima.
In the section of the status page it says:
"A character (whether PC or NPC) can suffer from various status ailments during the game, which are often the direct consequence of attacks or spells.
The ailments are:
-Poisoned: Temporarily reduces Might and Willpower dice by one size.
-Confused: Temporarily reduces your Insight die by one size.
-Weak: Temporarily reduces your Might die by one size.
-Enraged: Temporarily reduces your Dexterity and Insight die by one size.
-Slow: Temporarily reduces your Dexterity die by one size.
-Shaken: Temporarily reduces your Willpower die by one size.
Different statuses that affect the same ability are cumulative: for example, being confused and furious reduces the Insight die by two sizes.
However, a characteristic can never be reduced below d6."
So I had first a script from this jappan site: https://tm.yumineko.com/viewtopic.php?t=5855
it's a module that simulate the dice system.
I tried with this one:
I tried with this:
`` def dex(a,b,power)
case power
when power === 12
if b.state?(2) || b.state?(4)
power = 12 - 2
elsif
b.state?(2) && b.state?(4)
power = 12 - 4
else
power = 12
end
when power === 10
if b.state?(2) || b.state?(4)
power = 10 - 2
elsif
b.state?(2) && b.state?(4)
power = 10 - 4
else
power = 10
end
when power === 8
if b.state?(2) || b.state?(4)
power = 8 - 2
else
power = 8
end
when power === 6
power = 6
end
end``
But the damage is resulted 0 or they don't take damage.
Where did I get wrong?
Can you help me out?
In the section of the status page it says:
"A character (whether PC or NPC) can suffer from various status ailments during the game, which are often the direct consequence of attacks or spells.
The ailments are:
-Poisoned: Temporarily reduces Might and Willpower dice by one size.
-Confused: Temporarily reduces your Insight die by one size.
-Weak: Temporarily reduces your Might die by one size.
-Enraged: Temporarily reduces your Dexterity and Insight die by one size.
-Slow: Temporarily reduces your Dexterity die by one size.
-Shaken: Temporarily reduces your Willpower die by one size.
Different statuses that affect the same ability are cumulative: for example, being confused and furious reduces the Insight die by two sizes.
However, a characteristic can never be reduced below d6."
So I had first a script from this jappan site: https://tm.yumineko.com/viewtopic.php?t=5855
it's a module that simulate the dice system.
I tried with this one:
I tried with this:
`` def dex(a,b,power)
case power
when power === 12
if b.state?(2) || b.state?(4)
power = 12 - 2
elsif
b.state?(2) && b.state?(4)
power = 12 - 4
else
power = 12
end
when power === 10
if b.state?(2) || b.state?(4)
power = 10 - 2
elsif
b.state?(2) && b.state?(4)
power = 10 - 4
else
power = 10
end
when power === 8
if b.state?(2) || b.state?(4)
power = 8 - 2
else
power = 8
end
when power === 6
power = 6
end
end``
But the damage is resulted 0 or they don't take damage.
Where did I get wrong?
Can you help me out?