From: Astrid S. <ast...@us...> - 2009-05-05 21:30:32
|
Update of /cvsroot/arianne/stendhal/src/games/stendhal/server/entity In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv3604/src/games/stendhal/server/entity Modified Files: RPEntity.java Log Message: code format as in plusses to front and spaces, and all the useless stuff i am well known for Index: RPEntity.java =================================================================== RCS file: /cvsroot/arianne/stendhal/src/games/stendhal/server/entity/RPEntity.java,v retrieving revision 1.304 retrieving revision 1.305 diff -C2 -d -r1.304 -r1.305 *** RPEntity.java 4 May 2009 13:42:55 -0000 1.304 --- RPEntity.java 5 May 2009 21:30:17 -0000 1.305 *************** *** 469,473 **** * help him defend if he's a much higher level than this attacker */ ! final int levelDifferenceToNotNeedKarmaDefending = (int) (IGNORE_KARMA_MULTIPLIER*defender.getLevel()); if (!(effectiveDefenderLevel - levelDifferenceToNotNeedKarmaDefending > effectiveAttackerLevel)) { --- 469,473 ---- * help him defend if he's a much higher level than this attacker */ ! final int levelDifferenceToNotNeedKarmaDefending = (int) (IGNORE_KARMA_MULTIPLIER * defender.getLevel()); if (!(effectiveDefenderLevel - levelDifferenceToNotNeedKarmaDefending > effectiveAttackerLevel)) { *************** *** 508,512 **** * you're a much higher level than what you attack */ ! final int levelDifferenceToNotNeedKarmaAttacking = (int) (IGNORE_KARMA_MULTIPLIER*getLevel()); if (!(effectiveAttackerLevel - levelDifferenceToNotNeedKarmaAttacking > effectiveDefenderLevel)) { attack += attack * useKarma(0.1); --- 508,512 ---- * you're a much higher level than what you attack */ ! final int levelDifferenceToNotNeedKarmaAttacking = (int) (IGNORE_KARMA_MULTIPLIER * getLevel()); if (!(effectiveAttackerLevel - levelDifferenceToNotNeedKarmaAttacking > effectiveDefenderLevel)) { attack += attack * useKarma(0.1); *************** *** 2076,2080 **** * which case attacker doesn't need luck to help him hit. */ ! final int levelDifferenceToNotNeedKarmaAttacking = (int) (IGNORE_KARMA_MULTIPLIER*getLevel()); if (!(getLevel() - levelDifferenceToNotNeedKarmaAttacking > defender .getLevel())) { --- 2076,2080 ---- * which case attacker doesn't need luck to help him hit. */ ! final int levelDifferenceToNotNeedKarmaAttacking = (int) (IGNORE_KARMA_MULTIPLIER * getLevel()); if (!(getLevel() - levelDifferenceToNotNeedKarmaAttacking > defender .getLevel())) { |