Okay, just trying to figure out how to do this the best way possible. \r\nIf the player upgrades strength on the weapon that is costs X amount between \r\n1-50 \r\nIf you go about 50 the amount you need to pay to upgrade changes \r\nSo basicly \r\nIf X >= 1 and X <= 50 then \r\nCost = Str * 5 \r\nEnd if \r\n \r\nProblem is that I dont want it to change cause you hit over 50, I want each point after 50 to cost a different amount \r\nSo if the player upgrades from 40 to 51 the amount isnt going to be 55 or 110 \r\nBut each point after the 50 to cost 10 than after 100 to increase it to a different amount and so on. \r\n \r\nI hope you guys understand what I mean.
Okay, just trying to figure out how to do this the best way possible.
If the player upgrades strength on the weapon that is costs X amount between
1-50
If you go about 50 the amount you need to pay to upgrade changes
So basicly
If X >= 1 and X <= 50 then
Cost = Str * 5
End if
Problem is that I dont want it to change cause you hit over 50, I want each point after 50 to cost a different amount
So if the player upgrades from 40 to 51 the amount isnt going to be 55 or 110
But each point after the 50 to cost 10 than after 100 to increase it to a different amount and so on.
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET. subscribe