Cleansing Questions

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

Post Reply
User avatar
Trevor
Forum Legend
Principality
Posts: 2068
Joined: Sat Aug 05, 2006 11:03 pm
Location: Alberta Canada
Contact:
Canada

Hand-picked

Cleansing Questions

Post by Trevor » Mon Apr 11, 2011 2:48 am

I found this thread - and others - viewtopic.php?f=4&t=56790&hilit=item_poisonlengthresist

Cleasning is hardcoded. :x 100 - dm34. Can I change anything in this skill interms of duration reduction? Ie par3 = 30 and par4 = 90. Changing this seems to break it. I tried using ln34 and that was a flop. What can I do to this calc? It appears nothing.

Curse Reduction. Is it the same as the poisonlength reduction?

Last question. I gave a fallen dmg-pois 500 10 11 monster property. I get hit and poisoned for 20 seconds. That is working perfect. When I put on cleansing with the exact code as the clean file, the string says 51% reduction. (stringcode = dm34) (skillcode says 100 - dm34) I am cleaned in just over 5 seconds according to the stopwatch. What else is happening?
AfterMath Overview: http://www.aftermathcentral.com

Following the path of least resistance is what makes rivers and men crooked.
- Author Unknown

Mod Completion: Always under Construction
D2SE Compatible Only

Playing AfterMath v3.0.1 ~ 1020 MB
Released March 31, 2017

User avatar
mirecek
Dark Alliance Beta Test
Arch-Angel
Posts: 1218
Joined: Sun Sep 11, 2005 10:04 am

Re: Cleansing Questions

Post by mirecek » Mon Apr 11, 2011 7:50 am

curse lenght reduction does reduce poison and curse duration, an does not have cap (tested with 100% as "cannot be cursed" modifier, working ok)


so: you should be poisoned for 20s, but with 51% reduction you get poisoned only over 5s.

do you have any other modifiers on your character? poison lenght reduced?
"Each of those few chords separated by complete silence feels like a knife wound to the heart"

There is no greater sorrow than to recall happiness in times of misery. Draconian

User avatar
Doombreed-x
Retired staff
Arch-Angel
Posts: 1304
Joined: Thu Jul 15, 2004 6:40 pm
Location: No more flag. :(

Re: Cleansing Questions

Post by Doombreed-x » Mon Apr 11, 2011 11:41 am

I'd bet it's continuous truncation. The hardcoding of cleansing makes it's effect happen each second iirc, so if I had to guess it's probably making it's per second reduction, then cutting off the decimals.

User avatar
PureRage
Forum Regular
Angel
Posts: 570
Joined: Fri Jan 08, 2010 9:02 am
Location: Newcastle, England
Great Britain

Re: Cleansing Questions

Post by PureRage » Mon Apr 11, 2011 12:03 pm

It seems to be cutting the remaining duration by 51% per tick.

20 sec duration, first tick reduces it to around 10 secs
second tick reduces that 10 secs to 5 secs
poison then expires in 1 second as 4 seconds (2 ticks) have already passed

Could try it with something really long, like a 1 hour duration poison,
should be around 7.5 ticks to cure it at 51% on the skill (15ish secs) if thats how it's working
In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as "A bad move".
Douglas Adams

User avatar
Trevor
Forum Legend
Principality
Posts: 2068
Joined: Sat Aug 05, 2006 11:03 pm
Location: Alberta Canada
Contact:
Canada

Hand-picked

Re: Cleansing Questions

Post by Trevor » Mon Apr 11, 2011 2:56 pm

I have no other sources of reduction besides the aura.

If I add the curse resist stat, will that stack with poison length resist stat?
AfterMath Overview: http://www.aftermathcentral.com

Following the path of least resistance is what makes rivers and men crooked.
- Author Unknown

Mod Completion: Always under Construction
D2SE Compatible Only

Playing AfterMath v3.0.1 ~ 1020 MB
Released March 31, 2017

Post Reply

Return to “General Mod Making”