Galaxy Legion Forum http://galaxylegion.com/forum/ |
|
Damages http://galaxylegion.com/forum/viewtopic.php?f=3&t=17243 |
Page 1 of 1 |
Author: | Konkill [ Wed Dec 07, 2011 9:55 pm ] |
Post subject: | Damages |
I heard your ships damage cap was 1/2 of your hull but what if you have an odd number of hull like 45 would it be 22 damage or 23 damage? |
Author: | Darth Flagitious [ Wed Dec 07, 2011 10:03 pm ] |
Post subject: | Re: Damages |
Damage cap is one half DECKS not HULL or one half (rank+19) whichever is greater. Following the rules of mathematical rounding, it would be the lower figure if the initial is an odd number. .5 rounds down. |
Author: | Konkill [ Wed Dec 07, 2011 10:12 pm ] |
Post subject: | Re: Damages |
Darth Flagitious wrote: Damage cap is one half DECKS not HULL or one half (rank+19) whichever is greater. Following the rules of mathematical rounding, it would be the lower figure if the initial is an odd number. .5 rounds down. Oh ok so if I get 45 decks then the maximum hit on me would be 22? |
Author: | Darth Flagitious [ Wed Dec 07, 2011 10:26 pm ] |
Post subject: | Re: Damages |
Konkill wrote: Darth Flagitious wrote: Damage cap is one half DECKS not HULL or one half (rank+19) whichever is greater. Following the rules of mathematical rounding, it would be the lower figure if the initial is an odd number. .5 rounds down. Oh ok so if I get 45 decks then the maximum hit on me would be 22? Yes, unless you are over rank 69. Then you would fall under the second calculation. This would only happen if you have what is referred to as a Small Ship Build where you minimize your decks and use your Rank Points for Helmsmen and Tactical Officers. Which, by the way, is a slow death. |
Author: | Konkill [ Wed Dec 07, 2011 10:31 pm ] |
Post subject: | Re: Damages |
Darth Flagitious wrote: Konkill wrote: Darth Flagitious wrote: Damage cap is one half DECKS not HULL or one half (rank+19) whichever is greater. Following the rules of mathematical rounding, it would be the lower figure if the initial is an odd number. .5 rounds down. Oh ok so if I get 45 decks then the maximum hit on me would be 22? Yes, unless you are over rank 69. Then you would fall under the second calculation. This would only happen if you have what is referred to as a Small Ship Build where you minimize your decks and use your Rank Points for Helmsmen and Tactical Officers. Which, by the way, is a slow death. Why is a small build such a bad thing? |
Author: | Darth Flagitious [ Wed Dec 07, 2011 10:59 pm ] |
Post subject: | Re: Damages |
At very low ranks, its actually a very workable design. However as you progress farther in the game, you will be limited (by lack of decks) to the energy, defense and attack that you gain from Rank Points. Eventually, the people around you with the deckspace for guns, defense mods, hull/shield and energy cores will pass you by. You won't have the attack strength and energy reserve necessary to counterbalance their defense and high hull/shield even when they have a much higher damage cap. They will in turn have the attack and energy to sit back and cap on you until you die. Also, small ship builds are absolutely horrible for invasions because of the relatively low attack. |
Author: | Konkill [ Wed Dec 07, 2011 11:01 pm ] |
Post subject: | Re: Damages |
Darth Flagitious wrote: At very low ranks, its actually a very workable design. However as you progress farther in the game, you will be limited (by lack of decks) to the energy, defense and attack that you gain from Rank Points. Eventually, the people around you with the deckspace for guns, defense mods, hull/shield and energy cores will pass you by. You won't have the attack strength and energy reserve necessary to counterbalance their defense and high hull/shield even when they have a much higher damage cap. They will in turn have the attack and energy to sit back and cap on you until you die. Also, small ship builds are absolutely horrible for invasions because of the relatively low attack. I see thank you for your advice |
Author: | destroyer43 [ Thu Dec 08, 2011 6:13 am ] |
Post subject: | Re: Damages |
Darth Flagitious wrote: Damage cap is one half DECKS not HULL or one half (rank+19) whichever is greater. Following the rules of mathematical rounding, it would be the lower figure if the initial is an odd number. .5 rounds down. ummm WHAT??????????????????????????????????????????????????????????????????? if x<.5 ROUND DOWN if x>=.5 ROUND UP WAS WHAT i WAS TAUGHT!!!! |
Author: | Lone.Lycan [ Thu Dec 08, 2011 10:19 am ] |
Post subject: | Re: Damages |
what darth is talking about is the more advanced form of rounding from 0.5 (highschool or college lvl math)... i think most C libraries just round up at 0.5 though... |
Author: | Funkycorgi [ Thu Dec 08, 2011 5:07 pm ] |
Post subject: | Re: Damages |
To accurately round you need at least two significant figures, so you can check 0.5 to the digit next to it...as an example, 0.56 would round up, whereas 0.54 would round down. If it was 0.55, then you would again need another significant figure to accurately round the number. But as Lycan said, most C libraries to round up at 0.5, without the added check after. |
Author: | FerrusManus [ Thu Dec 08, 2011 5:15 pm ] |
Post subject: | Re: Damages |
What? Ints in C just drop anything after the number, 3/2 in C and Java would be 1, not 2, if you're using Ints. EDIT: And 3/4 would be 0, not 1, for example. |
Author: | Darth Flagitious [ Thu Dec 08, 2011 5:57 pm ] |
Post subject: | Re: Damages |
Sheesh... Didn't mean to start some great computational debate on rounding... I based my statement on rounding down at .5 on the fact that as a Sillixx, I always got my bonus at deck number ###6 not ###5... |
Author: | Lone.Lycan [ Fri Dec 09, 2011 2:40 am ] |
Post subject: | Re: Damages |
FerrusManus wrote: What? Ints in C just drop anything after the number, 3/2 in C and Java would be 1, not 2, if you're using Ints. EDIT: And 3/4 would be 0, not 1, for example. anyway... 4184 decks, exotica did max of 2092 dmg to me 4185 decks, exotica did max of 2093 dmg to me 4186 decks, exotica did max of 2093 dmg to me 4187 decks, exotica did max of 2094 dmg to me 4188 decks, exotica did max of 2094 dmg to me 4189 decks, exotica did max of 2095 dmg to me clearly it's rounding 0.5 up instead of to the nearest even number |
Author: | FerrusManus [ Fri Dec 09, 2011 5:56 am ] |
Post subject: | Re: Damages |
Lone.Lycan wrote: FerrusManus wrote: What? Ints in C just drop anything after the number, 3/2 in C and Java would be 1, not 2, if you're using Ints. EDIT: And 3/4 would be 0, not 1, for example. anyway... 4184 decks, exotica did max of 2092 dmg to me 4185 decks, exotica did max of 2093 dmg to me 4186 decks, exotica did max of 2093 dmg to me 4187 decks, exotica did max of 2094 dmg to me 4188 decks, exotica did max of 2094 dmg to me 4189 decks, exotica did max of 2095 dmg to me clearly it's rounding 0.5 up instead of to the nearest even number Yeah, I just didn't know why floating point rounding would apply, as it seems Ints would suffice, but I guess not. |
Author: | Lone.Lycan [ Fri Dec 09, 2011 6:43 am ] |
Post subject: | Re: Damages |
i made a mistake mentioning C... and actually after some research, it looks like the ANSI C Standard is to round 0.5 to the nearest even number ...but actually this game is in PHP which, while PHP was probably written in C, it is a bit different w/ handling stuff like this... for example, to people familiar w/ C and Java, PHP is a bit weird in that variables switch "type" as needed depending on the context where it's used... for instance... if you add a number and a string together, it changes the number into a string format and concatenates them instead but that's not important... ______________________________________________________________________________________________ http://us.php.net/manual/en/function.round.php Changelog Version Description 5.3.0 The mode parameter was introduced. 5.2.7 The inner workings of round() was changed to conform to the C99 standard. it's quite possible that the server is using an old version of PHP |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |