Post Reply 
 
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

Post: #1
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! Smile

[Image: 2hy9q0y.png]
07-16-2012 04:41 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Resist Community.
<R> is the same of using <R1000>
07-16-2012 04:45 AM
Find all posts by this user Like Post Quote this message in a reply
Lazarus
Master
**

Posts: 352
Likes Given: 11
Likes Received: 7 in 6 posts
Joined: Jun 2012
Reputation: 1

Hybris Ultima Online

Post: #3
RE: Resist Community.
(07-16-2012 04:45 AM)darksun84 Wrote:  <R> is the same of using <R1000>

Thanks! Rly! ^_ ^

[Image: 2hy9q0y.png]
07-16-2012 05:08 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)