Spells structures
Moderator: Team Members
- Scatman
- Retired
- Posts: 1688
- Joined: Wed Apr 16, 2008 5:44 am
- EQ2Emu Server: Scatman's Word
- Characters: Scatman
- Location: New Jersey
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
-
paulgh
- Retired
- Posts: 51
- Joined: Sun Jul 27, 2008 8:48 pm
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
0.25 does not need a signed float. -0.25, or -25, or negative anything does. Currently decimal-anything does not work in that field. 1.01 shows up as 1. 1.25 shows up as 1. -1.25 shows up as 0.
The true problem is not signed or unsigned, it is the precision of the float, how it is interpreted/cast by the server, and whether or not we are even using the field properly in the first place.
I played with signed just to see if we could enter negatives, and it made no difference.
The true problem is not signed or unsigned, it is the precision of the float, how it is interpreted/cast by the server, and whether or not we are even using the field properly in the first place.
I played with signed just to see if we could enter negatives, and it made no difference.
-
paulgh
- Retired
- Posts: 51
- Joined: Sun Jul 27, 2008 8:48 pm
John,
Are we running different versions of the emulator (I have latest SVN ver 124)? I just ran a test on my server. One spell (HARM) has a value of 1.2 in resistiblity. The other (HEAL) has 0.8. When I examine HARM it lists resistiblity as 20% easier. HEAL shows 20% harder. Am I misunderstanding something here?
Are we running different versions of the emulator (I have latest SVN ver 124)? I just ran a test on my server. One spell (HARM) has a value of 1.2 in resistiblity. The other (HEAL) has 0.8. When I examine HARM it lists resistiblity as 20% easier. HEAL shows 20% harder. Am I misunderstanding something here?
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
No, I am running 124 as well. Maybe what we were doing wrong is (as I said previously) putting the wrong values in. The original question, again, is - what goes in this field? Whole numbers, 10ths of seconds, fractions, floats, integers, my mom's underpants? I had no idea except to look at the data type and "guess".
If 1.00 means "even" then great, you have answered my question. And for that, I thank you.
If 1.00 means "even" then great, you have answered my question. And for that, I thank you.
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
LE, no need. paulgh's numbers are perfect, which is what we needed for this field. I have re-enabled it on the editor and put a little tooltip to remind me when I forget in 10 mins.
For Taunt, 34% harder needed 0.66 in the field. I don't know why I didn't see it before, that is so f'n intuitive a baby could see it. ~blank stare~
But yes, it works. Hopefully, as you intended.
For Taunt, 34% harder needed 0.66 in the field. I don't know why I didn't see it before, that is so f'n intuitive a baby could see it. ~blank stare~
But yes, it works. Hopefully, as you intended.
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
Who is online
Users browsing this forum: No registered users and 0 guests