Loading ...
Sorry, an error occurred while loading the content.

Re: [Bug][RSRD] [Trackered] Resist Energy spell providing wrong info

Expand Messages
  • taluroniscandar
    ... because you ... return a 20 ... Hmph, yeah, should da been a 20. :-/ (10+max(0,if(CASTERLEVEL
    Message 1 of 4 , Jan 17, 2006
    • 0 Attachment
      > > (10+max(0,if(CASTERLEVEL<7,0,10),if(CASTERLEVEL<11,0,10)))
      > >
      > > should give the correct values
      >
      > Might even get it shorter since there is no possibility that this can go
      > higher than 30 you don't need the max, also => is easier to read
      because you
      > can set the exact level it is activated:
      >
      > (10+if(CASTERLEVEL=>6,10,0)+if(CASTERLEVEL=>10,10,0))
      >
      > Oh I see why you went with max but then that last boolean should
      return a 20
      > instead of a 10, either way works.

      Hmph, yeah, should'da been a 20. :-/

      (10+max(0,if(CASTERLEVEL<7,0,10),if(CASTERLEVEL<11,0,20)))
    Your message has been successfully submitted and would be delivered to recipients shortly.