Deprecated: Function create_function() is deprecated in /var/www/html/jellyro.com/archive/forums/Sources/Load.php on line 178

Deprecated: Function create_function() is deprecated in /var/www/html/jellyro.com/archive/forums/Sources/Load.php on line 183

Deprecated: Function create_function() is deprecated in /var/www/html/jellyro.com/archive/forums/Sources/Load.php on line 184

Deprecated: Function create_function() is deprecated in /var/www/html/jellyro.com/archive/forums/Sources/Load.php on line 220

Deprecated: Function create_function() is deprecated in /var/www/html/jellyro.com/archive/forums/Sources/Load.php on line 223

Deprecated: Function create_function() is deprecated in /var/www/html/jellyro.com/archive/forums/Sources/Load.php on line 235

Deprecated: Function create_function() is deprecated in /var/www/html/jellyro.com/archive/forums/Sources/Load.php on line 250

Deprecated: Function create_function() is deprecated in /var/www/html/jellyro.com/archive/forums/Sources/Load.php on line 268
Coding help

Author Topic: Coding help  (Read 1041 times)

SanRath

  • Earl of Vermillion
  • ***
  • Posts: 1742
Coding help
« on: August 23, 2010, 01:54:15 pm »
I have a question about these codings

{ itemheal rand(400,600),0; },{},{}
{ itemheal rand(325,405),0; },{},{}

I need confirmation of the heal rates of those two items.

Active Mains - Sanqui Gypsy - SanRath High Priest - -San- Paladin - SanVai Creator - Dlihc Melborp WhiteSmith - Pestilence. TaekwonBoy - A l t e r n a t i v e High Wizard - ~Deviance Star Gladiator - Janin Ammi Ninja - Alizarin High Wizard - Esac Melbrop Baby Alchemist - Laureola Sniper - Nas ~ Super Novice
Spoiler for wigglewiggle:

Old Man

  • Kiel Factory Worker
  • **
  • Posts: 342
Re: Coding help
« Reply #1 on: August 23, 2010, 02:45:14 pm »
The base heal rate is just what it says in the scripts.  So, the first one heals your hp for a random amount between 400 and 600 each time you use it.
I believe those values are just the base though, and it can be modified.  For example, if you have a lot of VIT the amount you get healed increases.  Effects like critical wounds would lower the amount.

Also, the 0 means it doesn't recover any sp.  If the item was grape juice, the first number would be 0 instead.   :police:


TempestDoomSinx
ShadowSoul713HP
CitizenSnipsBIO
Lemon PledgeSNP


temp.Sinx
tempsClown
-temp-Champ
-temps-SG
Hammer Time - Ranked WS March 2, 2013