| 03-04-2007, 11:08 PM | #2 |
Well the first time they gain upgrades actually is level 6. And unless you are thinking that 1 hero is going to gain levels a lot faster than everyone else, and then leave the game, you don't need the 2nd and 3rd conditions for each of those: OR Averagelvl =6 //Averagelvl=7 don't need //Averagelvl=8 don't need The reason for this is you are setting the stuff equal to a level and it remains the same whether their level is 6 7 or 8. Unless they all skip level 6 and go right to 7 you don't need it. (The average level will advance on average less that 1 per level gained (exactly 1/number of players). So unless there are 1 player who gains 2 levels (2/1 =2) then that can't happen. That might help fix the problem, though I don't know if setting the upgrade to the same level affects things. |
| 03-04-2007, 11:51 PM | #3 |
Yeah, i have the other two conditions in there in the case of a player leaving, or somehow two players manage to level at the exact same time or whatnot. Nothing wrong with a failsafe here or there. And i fixed the 7 thing. Ohh, and it is possible in my game, unfortunately, to gain multiple levels, so it is good to have in there. That's because of the exp system I'm using. |
