SphereCommunity
help me to remember - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: help me to remember (/Thread-help-me-to-remember)

Pages: 1 2 3


help me to remember - mrkarlo - 07-09-2014 09:38 AM

hey, help me please. what the number will be at least? (for skill needs)
i forgot math and other

Code:
<EVAL <LOCAL.SKILL> / 50> + 90> > <EVAL <LOCAL.RAND>>)



RE: help me to remember - Extreme - 07-09-2014 11:35 AM

WUT?!


RE: help me to remember - mrkarlo - 07-09-2014 04:56 PM

hi, it's minimum skill require to make some item or to harvest!


RE: help me to remember - mrkarlo - 07-09-2014 07:54 PM

for example - mining.


RE: help me to remember - Extreme - 07-10-2014 01:42 AM

It depends in what trigger you will use.
But you can check using like this:
// ARGO = the item being mined
IF <MINING> >= <<ARGO.SKILL>>


RE: help me to remember - mrkarlo - 07-10-2014 06:03 AM

thanks. but what the answer in this math will be ?
Code:
/ 50> + 90> >



RE: help me to remember - Skul - 07-10-2014 08:43 AM

Code:
on=@skillsuccess
if (<eval <<serv.skill.<action>.key>> /10> >= <eval {0 <eval <skillclass.<serv.skill.<action>.key>> /10>}>)
   sysmeesage You were unable to complete the action.
   return 1
endif
Just an example, I'm not totally sure what you need (language barrier).


RE: help me to remember - mrkarlo - 07-10-2014 09:59 PM

eeee, I mean, if, for example my current skill in Lumber - 50.1 I can chop only logs, which can be gathered with 50.1 skill not highter. And I dont understand math (mb im aborigine)
Code:
<EVAL <LOCAL.SKILL> / 50> + 90> > <EVAL <LOCAL.RAND>>)

= what the numeric number of skill will be? If I have 50.1 of Lumber.
thanks!Big Grin


RE: help me to remember - XuN - 07-11-2014 12:32 AM

There are some pieces of code missing, however ... the best way to calcs with sphere is to type ingame .show eval 50.1/50, it will show the result as a sysmessage.


RE: help me to remember - mrkarlo - 07-11-2014 03:05 AM

yeeees, I mean calc!! I don't understand school program.
Code:
IF (<LOCAL.SKILL> > 50)
LOCAL.RAND = <EVAL Rand(<EVAL Rand(100, 150)>, 400)>
    IF (<EVAL <EVAL <LOCAL.SKILL> / 10> + 50> > <EVAL <LOCAL.RAND>>)
what the number will be ?