1.13c prgstack in skills.txt

Post here about all aspects of D2 mod making whether it's information, problems or whatever. Please specify whether your post is relating to Classic D2 or the Expansion.

Moderator: Nizari

01tu01
Posts: 10
Joined: Tue Aug 22, 2023 1:09 pm
China

1.13c prgstack in skills.txt

Post by 01tu01 » Mon Oct 16, 2023 9:12 am

Question:
Can the `prgstack` column in skills.txt be entered into an expression such as "stat('nofreezing'.accr) ? 1:0"?

Description:
When I recently tried to realize `Mosaic` in 1.13c, it occurs to me that I can make a new Assassin's Royal Strike, which means releasing meteors, chainlightning and chaoices when charging 3, meteors and chainlightning when 2, meteors when 1.

The above only requires setting prgstack to 1, and I think it's a good idea to enhance Royal Strike.

I want to realize that when I'm `nofreezing`, for example, I can do the new Royal Strike, and if I'm not, do the old one.

However, filling `prgstack` in the expression "stat('nofreezing'.accr) ? 1:0" is wrong, and It seems that when the cell isn't empty (such as fill `a`, `1`, etc.), the Royal Strike will also be the new one.

How can I make it? Does it need dll editing?

User avatar
Cypress
Moderator
Champion of the Light
Posts: 448
Joined: Fri Dec 01, 2017 2:08 am

Re: 1.13c prgstack in skills.txt

Post by Cypress » Tue Oct 17, 2023 11:10 pm

Unfortunately, most columns do not allow for calculations. Prgstack cannot use calcs without code editing.

01tu01
Posts: 10
Joined: Tue Aug 22, 2023 1:09 pm
China

Re: 1.13c prgstack in skills.txt

Post by 01tu01 » Wed Oct 18, 2023 3:24 am

Cypress wrote:
Tue Oct 17, 2023 11:10 pm
Unfortunately, most columns do not allow for calculations. Prgstack cannot use calcs without code editing.
That's depressing, but thank you

Return to “General Mod Making”