Costs of Training per class per level.

Post Reply
oddmud

Costs of Training per class per level.

Post by oddmud »

I've looked around, and I can't seem to find out how to see how much gold/plat it costs to train per level per class.



Anyone know where to find this information?
syntax53
Posts: 0
Joined: Wed Apr 03, 2002 6:00 am

Re: Costs of Training per class per level.

Post by syntax53 »

I've looked around, and I can't seem to find out how to see how much gold/plat it costs to train per level per class.



Anyone know where to find this information?



this is the formula i use for mmud explorer (http://www.mudinfo.net/index.php?mmudexp). the text in green is pascal(i think?) code given to me from locke cole. the blue is my VB code translation of the formula.





Public Function CalcMoneyRequiredToTrain(ByVal nLevel As Currency, _

ByVal nMarkup As Currency) As Currency

'{ Calculates the copper farthings needed to train for a specific level }

' function CalcMoneyRequiredToTrain(Level, Markup: integer): longword;

' begin

' Result := (longword((Level * 5) * (Markup + 100)) div 100) * 10;

' end;

On Error GoTo Error:



CalcMoneyRequiredToTrain = Fix((nLevel * 5) * (nMarkup + 100) / 100) * 10



Exit Function

Error:

Call HandleError("CalcMoneyRequiredToTrain")

End Function
Post Reply

Return to “Anything MajorMUD”