[1.7.3]Confusion on Vim generation

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
starsapphire
Thalore
Posts: 132
Joined: Sat Sep 27, 2014 11:33 am
Location: Irkkk

[1.7.3]Confusion on Vim generation

#1 Post by starsapphire »

The tooltip description of vim resource says:
Each time you kill a creature you gain 30% of your Willpower + 1 as Vim. This value is multiplied by half the rank of the creature.
(in game/modules/tome/class/interface/TooltipsData.lua:98)

However, in game/modules/tome/class/Actor.lua:3405, the code says:

Code: Select all

	src:incVim((src:getWil() * 0.5 + 1) * self.rank)
Which is 50% of your Willpower + 1 as Vim multiplied by the rank of the creature.

What's more, the vim gain of Bleak Outcome still use old formula

Code: Select all

		eff.src:incVim((1 + eff.src:getWil() / 10) * eff.stacks)
(in game/dlcs/tome-ashes-urhrok/data/timed_effects.lua:943)
Though if we use the new formula, its vim gain will be very high.
The vim you get for killing the creature is increased by 100%% for every stack of Bleak Outcome.
Related: viewtopic.php?f=42&t=51859

nsrr
Sher'Tul
Posts: 1126
Joined: Mon Sep 21, 2015 8:45 pm
Location: Middle of Nowhere

Re: [1.7.3]Confusion on Vim generation

#2 Post by nsrr »

Submitted tooltip fix. MR: https://git.net-core.org/tome/t-engine4 ... quests/762

Submitted update for Bleak Outcome to use new Vim gain formula.

Post Reply