Enhancing Sword Latent Effects and Enspell day/weather bonus

User avatar
maxtherabbit
Developer
Posts: 57
Joined: Wed Jun 12, 2013 11:26 pm

Re: Enhancing Sword Latent Effects and Enspell day/weather b

Post by maxtherabbit » Wed Dec 11, 2013 4:49 pm

well Razz types are strong against ice - so it makes perfect sense with the part I edited in to my post above about the enspells demonstrating the mob type's "pure" resistance rate

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: Enhancing Sword Latent Effects and Enspell day/weather b

Post by kjLotus » Wed Dec 11, 2013 5:01 pm

maxtherabbit wrote:well Razz types are strong against ice - so it makes perfect sense with the part I edited in to my post above about the enspells demonstrating the mob type's "pure" resistance rate
yeah - now I just need to find a decent formula...

User avatar
maxtherabbit
Developer
Posts: 57
Joined: Wed Jun 12, 2013 11:26 pm

Re: Enhancing Sword Latent Effects and Enspell day/weather b

Post by maxtherabbit » Wed Dec 11, 2013 5:05 pm

from wiki page on resists:
Resisting magic damage causes the target to take 1/2, 1/4, 1/8 of normal damage. If "p" is the percentage of non resisted spells (for example, if 41% of the spells are not resisted, p=0.41), then the distribution of resists might be : 1/2 : p*(1-p), 1/4: p*(1-p)^2, 1/8:(1-p)^3.
so if we use the MOD_XRES of the target as the base percentage for their likelihood to resist we could come up with a randomiser that would give us a distribution of resists as shown above with p = (100-MOD_XRES)/100

Post Reply