Thread Rating:
- 0 Votes - 0 Average
- 1
- 2
- 3
- 4
- 5
Resist Community.
|
Author |
Message |
Lazarus 
Master
 
Posts: 352
Likes Given: 11
Likes Received: 7 in 6 posts
Joined: Jun 2012
Reputation: 1
Hybris Ultima Online
![]()
|
Resist Community.
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!
|
|
07-16-2012 04:41 AM |
|
|
Messages In This Thread |
Resist Community. - Lazarus - 07-16-2012 04:41 AM
|
User(s) browsing this thread: 1 Guest(s)