Blizzhackers

Return of the Jedi

* Login   * Register    * FAQ    * Search

Join us on IRC: #bh@irc.synirc.net (or Mibbit Web IRC)


MuleFactory


It is currently Sat May 25, 2013 11:27 pm


All times are UTC [ DST ]





Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: difference between codes
PostPosted: Sun Aug 05, 2012 4:33 pm 
 
User
User

Joined: Mon Jul 16, 2012 6:13 am
[Name] == SmallCharm && [Quality] == magic # [FireResist] >= 10 || [LightResist] >= 10 || [ColdResist] >= 10 || [PoisonResist] >=10

[Name] == SmallCharm && [Quality] == magic # [FireResist]+[LightResist]+[ColdResist]+[PoisonResist] >= 10

is bottom resist all or will it pick up sc that just have 10% to fire/ light/ cold/ poison resist?

Top
 Profile  
 Post subject: Re: difference between codes
PostPosted: Sun Aug 05, 2012 4:52 pm 
 
User
User
User avatar

Joined: Sun Jul 12, 2009 6:00 pm
bottom one will pick both resist all and individual resists over 10
top one will only pick individual resists

_________________
Image


Top
 Profile  
 Post subject: Re: difference between codes
PostPosted: Mon Aug 06, 2012 4:02 am 
 
User
User

Joined: Thu Jul 26, 2012 4:46 pm
[Name] == SmallCharm && [Quality] == magic # [FireResist] >= 10 || [LightResist] >= 10 || [ColdResist] >= 10 || [PoisonResist] >=10

[Name] == SmallCharm && [Quality] == magic # [FireResist]+[LightResist]+[ColdResist]+[PoisonResist] >= 10

is bottom resist all or will it pick up sc that just have 10% to fire/ light/ cold/ poison resist?



Error will be, right will be:

[Name] == SmallCharm && [Quality] == magic # ([FireResist] >= 10 || [LightResist] >= 10 || [ColdResist] >= 10 || [PoisonResist] >= 10)

Top
 Profile  
 Post subject: Re: difference between codes
PostPosted: Mon Aug 06, 2012 4:14 am 
 
User
User
User avatar

Joined: Sun Jul 12, 2009 6:00 pm
There will be no error. Brackets aren't needed in this case because relevant mods come after #

_________________
Image


Top
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron