mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-01-15 23:04:31 -05:00
Fix beast mission xp granted to 50% instead of 100%
This commit is contained in:
@@ -160,7 +160,7 @@ public class mission_base extends script.base_script
|
||||
intReward = intReward / (int)divisor;
|
||||
if (missions.canEarnDailyMissionXp(objPlayer) && missions.isDestroyMission(objMissionData)){
|
||||
if (beast_lib.isBeastMaster(objPlayer) && beast_lib.hasActiveBeast(objPlayer)) {
|
||||
beast_lib.incrementBeastExperienceMission(beast_lib.getBeastOnPlayer(objPlayer), xp.getMissionXpAmount(objPlayer, intPlayerDifficulty));
|
||||
beast_lib.incrementBeastExperienceMission(beast_lib.getBeastOnPlayer(objPlayer), xp.getMissionXpAmount(objPlayer, intPlayerDifficulty) / 2);
|
||||
}
|
||||
xp.grantMissionXp(objPlayer, intPlayerDifficulty);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user