Page 1 of 1

Spirit Speak

Posted: July 18th, 2018, 12:34 pm
by Shallan
I just wonder, if he Staff could help since i think ppl with no chance to look in the code will not know :)

According to uo guide

and the damage you do to the target by weapon or spell. Formula is Spirit Speak / 5:

and

At 0 Sprit Speak 8% of your damage is leeched as Mana.

And now the question.

How much mana HUMAN (20 jack of all trades skill) leeches? 8% since he didnt put a skill there ? Or 20 from jack / 5 = 4%?

:coffee: :popcorn:

Re: Spirit Speak

Posted: July 19th, 2018, 2:31 am
by Bad Religion
The UOGuide is too new, it's based on information from 2016, long after this era. This is RunUO code:

int wraithLeech = ( 5 + (int)( ( 15 * from.Skills.SpiritSpeak.Value ) / 100 ) ); // Wraith form gives 5-20% mana leech

Arden did the math and concluded that you get 5% as elf(0 skill) 8% at 20(JOAT)

hope this helps!

Re: Spirit Speak

Posted: July 19th, 2018, 5:00 am
by Shallan
Bad Religion wrote:The UOGuide is too new, it's based on information from 2016, long after this era. This is RunUO code:

int wraithLeech = ( 5 + (int)( ( 15 * from.Skills.SpiritSpeak.Value ) / 100 ) ); // Wraith form gives 5-20% mana leech

Arden did the math and concluded that you get 5% as elf(0 skill) 8% at 20(JOAT)

hope this helps!
thx a lot! :)
hm is the formula correct ? hm

Re: Spirit Speak

Posted: July 19th, 2018, 5:06 am
by Bad Religion
Arden and josh did all the work, I just tasked them with it!

Re: Spirit Speak

Posted: July 19th, 2018, 5:10 am
by Shallan
Image

is it what u posted? hm

Re: Spirit Speak

Posted: July 19th, 2018, 5:18 am
by Bad Religion
no you dont add 50 that stands for "integer" or the number you are looking to find, notice it's part of the second part of parenthesis

I assume you added 50 because that's your intelligence, but that's not what that means.

Re: Spirit Speak

Posted: July 19th, 2018, 5:20 am
by Shallan
Bad Religion wrote:no you dont add 50 that stands for "integer" or the number you are looking to find, notice it's part of the second part of parenthesis

I assume you added 50 because that's your intelligence, but that's not what that means.
ok thx now it works! :)

Image
Great! :)

Re: Spirit Speak

Posted: July 19th, 2018, 5:28 am
by Bad Religion
:D

Re: Spirit Speak

Posted: July 19th, 2018, 5:28 am
by Shallan
Bad Religion wrote::D
Now its even harder to chose elf or human XD

Re: Spirit Speak

Posted: July 19th, 2018, 5:29 am
by Bad Religion
Shallan wrote:
Bad Religion wrote:no you dont add 50 that stands for "integer" or the number you are looking to find, notice it's part of the second part of parenthesis

I assume you added 50 because that's your intelligence, but that's not what that means.
ok thx now it works! :)

Image
Great! :)
now find out the minimum amount of damage you have to do to leech back 100% of the mana that you used. good luck...

Re: Spirit Speak

Posted: July 19th, 2018, 5:42 am
by Shallan
Bad Religion wrote:
Shallan wrote:
Bad Religion wrote:no you dont add 50 that stands for "integer" or the number you are looking to find, notice it's part of the second part of parenthesis

I assume you added 50 because that's your intelligence, but that's not what that means.
ok thx now it works! :)

Image
Great! :)
now find out the minimum amount of damage you have to do to leech back 100% of the mana that you used. good luck...
hm 130 dmg if i constant spam :P since 2strike cost 26 mana.

Re: Spirit Speak

Posted: July 19th, 2018, 6:40 am
by Arden
Bad Religion wrote:Arden and josh did all the work, I just tasked them with it!
“Hey siri”

Re: Spirit Speak

Posted: July 19th, 2018, 6:48 am
by Shallan
Arden wrote:
Bad Religion wrote:Arden and josh did all the work, I just tasked them with it!
“Hey siri”
thx for the formula