OtherDrops

226k Downloads

Potioneffect Potency Inaccurate

Steelsouls opened this issue · 1 comments

commented

I have been testing all the potion effects to make sure they work correctly. They are all usable and all of them seem to work.

The problem is with the power variable as in: effect@time@power

The actual effect in game is always +1 stronger than in the .yml. Which also makes it impossible to inflict a lvl 1 effect.

Example - Actual Effect - Effect Shown in Inventory Window
potioneffect.attacker: [SLOW@100] - Inflicts Slowness lvl 5 - says Slowness
potioneffect.attacker: [SLOW@100@0] - Inflicts Slowness lvl 1 - Says Slowness
potioneffect.attacker: [SLOW@100@1] - Inflicts Slowness lvl 2 - Says Slowness II
potioneffect.attacker: [SLOW@100@2] - Inflicts Slowness lvl 3 - Says Slowness III
potioneffect.attacker: [SLOW@100@3] - Inflicts Slowness lvl 4 - Says Slowness IV
potioneffect.attacker: [SLOW@100@4] - Inflicts Slowness lvl 5 - Says Slowness
potioneffect.attacker: [SLOW@100@5] - Inflicts Slowness lvl 6 - Says Slowness
etc, etc...

Funny sidenote: Anything over Slowness V makes you walk backwards.

commented

I'll look into making them start at 1 instead of 0 to match up with
expectations.

Yeah a lot of effects go weird at high levels, I'd like to document the
maximum useful level and what happens after.
On 28/02/2013 9:41 AM, "Steelsouls" [email protected] wrote:

I have been testing all the potion effects to make sure they work
correctly. They are all usable and all of them seem to work.

The problem is with the power variable as in: effect@time@power

The actual effect in game is always +1 stronger than in the .yml. Which
also makes it impossible to inflict a lvl 1 effect.

Example - Actual Effect - Effect Shown in Inventory Window
potioneffect.attacker: [SLOW@100] - Inflicts Slowness lvl 5 - says
Slowness
potioneffect.attacker: [SLOW@100@0] - Inflicts Slowness lvl 1 - Says
Slowness
potioneffect.attacker: [SLOW@100@1] - Inflicts Slowness lvl 2 - Says
Slowness II
potioneffect.attacker: [SLOW@100@2] - Inflicts Slowness lvl 3 - Says
Slowness III
potioneffect.attacker: [SLOW@100@3] - Inflicts Slowness lvl 4 - Says
Slowness IV
potioneffect.attacker: [SLOW@100@4] - Inflicts Slowness lvl 5 - Says
Slowness
potioneffect.attacker: [SLOW@100@5] - Inflicts Slowness lvl 6 - Says
Slowness
etc, etc...

Funny sidenote: Anything over Slowness V makes you walk backwards.


Reply to this email directly or view it on GitHubhttps://github.com//issues/135
.