mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-31 01:15:57 -04:00
Add a factor for dance XP.
Note, this implementation is not yet 100% accurate, but it should match XP values from Entertainer FAQ for all dances.
This commit is contained in:
@@ -327,7 +327,8 @@ public class EntertainmentService implements INetworkDispatch {
|
||||
int floXP = p.getFlourishXpMod();
|
||||
int floCount = entertainer.getFlourishCount();
|
||||
|
||||
int XP = ((floCount > 2) ? 2 : floCount) * floXP;
|
||||
//FIXME: this is not an accurate implementation yet. It needs group bonuses and other things.
|
||||
int XP = (int) Math.round( ((floCount > 2) ? 2 : floCount) * floXP * 3.8 );
|
||||
|
||||
entertainer.setFlourishCount(0);
|
||||
core.playerService.giveExperience(entertainer, XP);
|
||||
|
||||
Reference in New Issue
Block a user