News:

SMFNew Installed

+-+-

User+-

Welcome, Guest.
Please login or register.
 
 
 

Login with your social network

Forgot your password?

Site Stats+-

Members
Total Members: 728
Latest: Cho
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 10932
Total Topics: 795
Most Online Today: 389
Most Online Ever: 854
(September 18, 2024, 07:49:37 am)
Users Online
Members: 0
Guests: 303
Total: 303

Author Topic: trying to make/use luck stat in TL2  (Read 1636 times)

0 Members and 140 Guests are viewing this topic.

trying to make/use luck stat in TL2
« on: »
Luck/PERCENT MAGICAL DROP/magic find. Not sure how best to call it but I am trying to find a way to reference it to augment abilities.
Progress so far:
I know from looking at the synergies mod that it is possible to mod in new stats, and some of them seem to auto-calculate without having to specially link them:
 
Quote
Spoiler (hover to show)
So I tried to make my own stat for luck
Quote
Spoiler (hover to show)
I names it "PERCENT MAGICAL DROP" because that is what the game calls it when it boosts magi find via magic dice or yololo skull.
However when I attatch that stat to an ability affix via:
      <STRING>STATMODIFYNAME:CHARACTER PERCENT MAGICAL DROP
      <STRING>STATMODIFYPERCENT:5
      <BOOL>MODIFIERISBONUS:true
It does nothing as I equip/unequip luck boosted items.
I tested the affix attatchment by using "Max Mana" instead and that one did work.

What am I doing wrong?
Is there a better way to reference the magic find stat the game keeps track of in the "j" menu?
Thanks in advance

P.S. I have Guts but find it easier to work in text files and just let GUTS compile it at the end

Share on Bluesky Share on Facebook


Re: trying to make/use luck stat in TL2
« Reply #1 on: »
Hi, Oleg. Welcome to Torchmodders.

Unfortunately I'm not very good at stats, so I can't really answer your question. But perhaps @gytfunke can provide some insight.

Re: trying to make/use luck stat in TL2
« Reply #2 on: »
Hi Oleg! Welcome to Torchnodders ;) same here unfotrunately, stats and affixes arent my bag. Ah so u also prefer to edit the files directly? a kindred spirit!


Re: trying to make/use luck stat in TL2
« Reply #3 on: »
One of the firt things I was trying to mod was recipes. And while this is possible to do with GUTS, the interface is very glitchy and makes it hard to fix mistakes/change # of ingredients, so I switched to text modding instead.
If I start doing textures at some point I may try GUTS again, but for affixes/recipes/skills text works faster.
Don't really know how to edit/add stats yet. Just learning.

Re: trying to make/use luck stat in TL2
« Reply #4 on: »
Hi Oleg,

A couple things.  Your two stats, PERCENT MAGICAL DROP and CHARACTER PERCENT MAGICAL DROP, are not linked.  They're two different stats.  So, modifying CHARACTER PERCENT MAGICAL DROP isn't going to modify PERCENT MAGICAL DROP.

Also, check out the list of static stats that already exist in the game here.  Searching that shows a likely candidate for a stat that might already fill the role you're looking for, 'CHARACTER MAGIC FIND %'.

I hope that helps  :)

Re: trying to make/use luck stat in TL2
« Reply #5 on: »
IT WORKS!!!
Thank you   :)
The line:
Quote
Also, check out the list of static stats that already exist in the game here.
is a little deceptive, because when I tried to simply reference the "existing" stat via
Code: [Select]
<STRING>STATMODIFYNAME:CHARACTER MAGIC FIND %
<STRING>STATMODIFYPERCENT:5
<BOOL>MODIFIERISBONUS:true
it had no effect. Toggling a luck item on/off the char did not change affix
However, when I added
Code: [Select]
[STAT]
<STRING>NAME:CHARACTER MAGIC FIND %
<INTEGER64>UNIQUE_GUID:8143476688288407776
<TRANSLATE>DISPLAYNAME:CHARACTER MAGIC FIND %
<STRING>TYPE:TYPE_PREDEFINED_INT
[/STAT]
to the "stats" folder and tested again it worked like a charm.
Not really sure why you have to create a stat that should already exist, but I felt it was worth mentioning in case anyone else ran into the same problem.

Thanks for the help  :)

 

Recent Topics+-