Torchmodders

Modding => Modding Questions => Topic started by: Viz on April 10, 2017, 10:48:15 am


Title: tooltip display wrong value?
Post by: Viz on April 10, 2017, 10:48:15 am
So I tweak some effect value for a skill, but for whatever reason the tooltip only displayed like half of the original value.

tooltip
https://puu.sh/vfP4K/ddc1209b2e.png

real value
https://puu.sh/vfP3t/bf27a11bb0.png

and yes, that's without charge.

Edit : Also, anyone knows what does the PULSE_RATE means in DRAW HEALTH effect?
Title: Re: tooltip display wrong value?
Post by: Phanjam on April 10, 2017, 06:56:31 pm
Hi Viz. Its possible the skill tooltip display is based on "dummy affixes". If you change the main affix but not the dummy, the tooltip display will be wrong.

If the skill has a code-block that starts with EVENT_FOUR (or similar, i cant remember right now) then its surely using a dummy affix for the tooltip.
Title: Re: tooltip display wrong value?
Post by: doudley on April 10, 2017, 09:36:49 pm
Hi Viz. Its possible the skill tooltip display is based on "dummy affixes". If you change the main affix but not the dummy, the tooltip display will be wrong.

If the skill has a code-block that starts with EVENT_FOUR (or similar, i cant remember right now) then its surely using a dummy affix for the tooltip.
It is highly possible that this is the issue you are having. If you can post your codes in here (put it in spoiler) that would be most helpful on my part, I can read the game's data better in text form or xml format as they say.
Title: Re: tooltip display wrong value?
Post by: Viz on April 10, 2017, 10:10:52 pm
Spoiler (hover to show)
Hmm, idk. Seems fine for me. I read somewhere that HP recharge thingy (I use it on the skill affix) does sometimes mess up the tooltip for unknown reason.
Title: Re: tooltip display wrong value?
Post by: Phanjam on April 11, 2017, 04:04:06 am
Does the display of the effect change from time to time?  Because my guess is that the tooltip is picking up the affix effects based on how many charges the player has when you mouse-over.  If that is possible, then it will display the effects of either WSP_FLASHOFLIGHT_NOCHARGEHEAL15 or WSP_FLASHOFLIGHT_CHARGEHEAL15 based on your charges...
Title: Re: tooltip display wrong value?
Post by: Viz on April 12, 2017, 01:52:37 am
It's ok.
 
I set the duration to instant and now the heal value shows correctly.  Seems like the game screws up calculation if HP recharge player is set to duration: "x" sec.

Title: Re: tooltip display wrong value?
Post by: doudley on April 14, 2017, 06:50:14 am
I'm glad you have fixed it yourself, sometimes its better to load up the files in GUTS and try to update them by fake editing them. This can be done by changing any paramater then change it back, GUTS will arrange and correct text block alignments automatically.
Title: Re: tooltip display wrong value?
Post by: Phanjam on April 14, 2017, 12:13:45 pm
Oh this is good to know!