magic-knuckles formula change proposals
This forum houses many years of development, tracing back to some of the earliest posts that exist on the board.
Its current use is for the continued development of the server and game it has always served: TMW Classic.
magic-knuckles formula change proposals
I looked up the magic-knuckles script and would like to propose the following 2 changes that don't affect the output values:
1) change the damage formula to make it easier to understand
max(1, BASE_ATK + min(0,Int-100))
2) change the delay formula to prevent the potential computation of sqrt of negative values
sqrt( max(0, 300 - 2*Agi) ) + 5/2
Re: magic-knuckles formula change proposals
Not too concerned about this one, to this be negative agility will need to exceed 127, which by TMWA rules, may cause negative computations in the C++ code ─ and by o11c rule, anything wrong is fatal, I think the server will crash way before you can cast magic knuckles XD
PS. Evol2/Hercules can go up to 255 safely, and up to 65535 un-safely. While it would be a cause of concern, this spell no longer exists there.
But hey, this is a nice first MR, feel free to submit patches at https://git.themanaworld.org/legacy/serverdata
Jesusalva (aka. Jesusaves)
Donate to the project! ─ (Note: If you want to support me instead, Buy me a coffee!)
Former system administrator, project lead and developer.
Do not contact me regarding The Mana World inquiries.
Re: magic-knuckles formula change proposals
How to do it properly ?
Re: magic-knuckles formula change proposals
Developer: Source of Mana, TMW Classic
SPI Liaison (Donate to The Mana World)
Forum Admin
TMW Team member