SphereCommunity
Resist Community. - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Resist Community. (/Thread-Resist-Community)



Resist Community. - Lazarus - 07-16-2012 04:41 AM

Hi! First sorry for my english ^_^

I have a question with the NEW system of MagicResistance in Sphere Community Pack.
Code:
if <def.scp.NewSkills_ResistingSpells> == 1
if <serv.spell.<tag.spellhit>.flags>&spellflag_resist
local.resist = <eval <magicresistance>-((<src.evaluatingintel>*<spellcircle <tag.spellhit>>)/20)>

if <local.resist> > (<r>)
argn1 -= <r<eval <magicresistance...
else
argn1 -= <r<eval <magicresista...
etc etc etc

My question is: How works that Random in
Code:
if <local.resist> > (<r>)
(Because there's no number and IT WORKS! if i have more resist [like 100.0] the first argn1 works more than the 2º, and if i have less resist, the 2º agrn works more than the 1º...


And another question: ¿How can I do this without the SPELLCIRCLE?
I want the Resist in same level = of spell... but... Adding Magery in the place of Spellcircle ^_^.

Thank you for reading! Smile


RE: Resist Community. - darksun84 - 07-16-2012 04:45 AM

<R> is the same of using <R1000>


RE: Resist Community. - Lazarus - 07-16-2012 05:08 AM

(07-16-2012 04:45 AM)darksun84 Wrote:  <R> is the same of using <R1000>

Thanks! Rly! ^_ ^