View previous topic :: View next topic |
Author |
Message |
no_shot Surpasses you in poetical prowess

Joined: 28 Apr 2003 Posts: 300 Location: On the road to perfection.
|
Posted: Wed Dec 17, 2003 5:45 pm Post subject: OHR math dynamics |
|
|
I was wondering what exactly the ~ meant. Is it some sort of function? I can't find anything that explains it.
Also, can you change the text string that appears when you find an item in battle? I can't find it anywhere. That should be in the next update. _________________ Play Horrible Fantasy NOW! |
|
Back to top |
|
 |
TMC On the Verge of Insanity
Joined: 05 Apr 2003 Posts: 3240 Location: Matakana
|
Posted: Wed Dec 17, 2003 6:25 pm Post subject: |
|
|
The ~? The ~ in what? ~ makes no appearance in plotscripting, so are you talking about how its used in the faqs/ helpmes? Its just probabilitly ratios I believe. _________________ "It is so great it is insanely great." |
|
Back to top |
|
 |
Me HI.

Joined: 30 Mar 2003 Posts: 870 Location: MY CUSTOM TITLE CAME BACK
|
Posted: Wed Dec 17, 2003 7:36 pm Post subject: |
|
|
I assume you're talking about the "~MP" stat. I have no idea how the ~ appeared there, as I don't know any uses other than above an n in Spanish. But I can tell you that "~MP" reduces the amount of MP used. So perhaps "~" is an approximate subtraction sign. _________________ UP DOWN UP DOWN LEFT LEFT RIGHT RIGHT A B START |
|
Back to top |
|
 |
Fenrir-Lunaris WUT

Joined: 03 Feb 2003 Posts: 1747
|
Posted: Wed Dec 17, 2003 9:14 pm Post subject: |
|
|
I believe it's occasionally used in math to represent "approximately equal to". |
|
Back to top |
|
 |
Komera

Joined: 07 Feb 2003 Posts: 711
|
Posted: Wed Dec 17, 2003 10:00 pm Post subject: |
|
|
perhaps he's refering to the ~ that appears in the attack maths. in that case, it's something like saying "vs." (number) ~ (number)... where (number) is the randomly generated number between 0 and number. but, that's been covered in another post... _________________ LJ.Art
SD - Ten creatures remaining. |
|
Back to top |
|
 |
no_shot Surpasses you in poetical prowess

Joined: 28 Apr 2003 Posts: 300 Location: On the road to perfection.
|
Posted: Thu Dec 18, 2003 1:54 am Post subject: |
|
|
Komera got it right. I think I understand what the MP~ means: It's a percentage by which the amount of MP consumed by each spell that character uses is reduced by. But I don't understand what Mag ~ Wil*1.5 means. Did you say it was covered in another post? I'm searching for it right...now. _________________ Play Horrible Fantasy NOW! |
|
Back to top |
|
 |
Komera

Joined: 07 Feb 2003 Posts: 711
|
|
Back to top |
|
 |
Harbinger Opini
Joined: 19 Dec 2003 Posts: 14 Location: Jax
|
Posted: Fri Dec 19, 2003 7:06 am Post subject: |
|
|
It's called a "tilde" -- it's used in logic to mean NOT
as in P = True, and ~P = False
the approximatly equal to symol resembles two tilde, one on top of the other.
It's also an interval like Komera said. |
|
Back to top |
|
 |
Bob the Hamster OHRRPGCE Developer

Joined: 22 Feb 2003 Posts: 2526 Location: Hamster Republic (Southern California Enclave)
|
Posted: Fri Dec 19, 2003 8:41 am Post subject: misuse of the ~ |
|
|
I should not have used the ~ symbol, neither in the name of the ~MP stat (MP-reduction stat) nor in the accuraccy formula. Accuracy ~ Dodge
It's just that I didn't want to spell out "MP-reduction%" nor did I want to spell out "A random number between 0 and [modified Accuracy stat] and random number between 0 and [modified Dodge stat] are selected and if the accuracy random is higher then the attack hits otherwise it misses"
If anybody can think of a nice short concise way to express that formula on-screen, I would appreciate the suggestion. The best I can think of is to write "Accuracy vs. Dodge" .. it isn't any more informative than "Accuracy ~ Dodge", but at least it won't confuse people with the ~ symbol. |
|
Back to top |
|
 |
Me HI.

Joined: 30 Mar 2003 Posts: 870 Location: MY CUSTOM TITLE CAME BACK
|
Posted: Fri Dec 19, 2003 12:30 pm Post subject: |
|
|
I think acc vs. dodge would work fine. At least that way it'd be more apparent how the dodging is calculated. When I would see it the current way, I'd think . . . what is it? Is it divide one into the other and if it's above 1, it hits? Or is it something else? Now I know, of course, but using "vs." in place of "~" would be better. _________________ UP DOWN UP DOWN LEFT LEFT RIGHT RIGHT A B START |
|
Back to top |
|
 |
no_shot Surpasses you in poetical prowess

Joined: 28 Apr 2003 Posts: 300 Location: On the road to perfection.
|
Posted: Sat Dec 20, 2003 2:58 pm Post subject: |
|
|
It was a good idea to use the tilde because there isn't any proper operator that you can use to express that. Sort of a "wildcard". I think in order to best clarify it, you should include an explanation of it in the howto file, but if you want suggestions on how to express the formula in custom, I can think of some:
1. Rand(0, Acc*n) - Rand(0, Dog)
where n is either 4 or 2, or
Rand(0, Acc) - Rand(0, Dog)
*In place of Rand(n1, n2) you could use some other programming syntax that everybody will be familiar with, but I'm sure everyone will get the jist of the above example.
...Actually, that's the only one I can think of, in simplest terms. It's hard because it's not as simple as calculating a number, but rather it's a number that has to be checked to see if it is > 0. Maybe Rand(0, Acc*n) vs. Rand (0, Dog) would be a better way of expressing it. _________________ Play Horrible Fantasy NOW! |
|
Back to top |
|
 |
TMC On the Verge of Insanity
Joined: 05 Apr 2003 Posts: 3240 Location: Matakana
|
Posted: Sat Dec 20, 2003 10:03 pm Post subject: |
|
|
But rand(n,m) is a plotscripting expression. In pure programming you would use rnd*n or random*n. _________________ "It is so great it is insanely great." |
|
Back to top |
|
 |
|