Joshua Posted October 4, 2009 Posted October 4, 2009 Ok, so I currently have a race mod installed where when users register they have to select a race 1,2 or 3. When the user goes to the Gym, the ['race'] defined, gets a Bonus work-out in 1 stat. race 1 - guard, race 2- agility race 3 - strength. My problem is, even if i up the multiplier for the raxe *10000 I still can't tell any differance than the stat supposed to have the multiplier or one that doesnt. Here's the code added in, is there anything wrong with it? Can you tell? if ($ir['race']==1 AND $stat=="guard") { $inc=$ir[$stat]+$gain*1.1; } elseif ($ir['race']==2 AND $stat=="agility") { $inc=$ir[$stat]+$gain*1.1; } elseif ($ir['race']==3 AND $stat=="strength") { $inc=$ir[$stat]+$gain*1.1; } else { $inc=$ir[$stat]+$gain; } Quote
Danny696 Posted October 5, 2009 Posted October 5, 2009 Your giving them a .1% advantage. you may not see it as its soo small Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.