Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ namespace Perpetuum.Zones.Teleporting.Strategies
public class TrainingExitStrategy : ITeleportStrategy
{
private const double CHARACTER_START_CREDIT = 500000; //TODO: move to DB
private const double NIC_REWARD_PER_LEVEL = 125000; //TODO: move to DB
private const int MAX_REWARD_LEVEL = 4;
private TimeSpan WAIT_TIME_BEFORE_SENDING_MAIL = TimeSpan.FromSeconds(10);
private TimeSpan WAIT_TIME_BEFORE_SENDING_WELCOME_MESSAGE = TimeSpan.FromSeconds(10);
Expand Down Expand Up @@ -68,7 +69,7 @@ public void DoTeleport(Player player)
character.RaceId = info.raceId;
character.SchoolId = info.schoolId;
character.SparkId = info.sparkId;
character.Credit = CHARACTER_START_CREDIT;
character.Credit = CHARACTER_START_CREDIT + (NIC_REWARD_PER_LEVEL * TrainingRewardLevel);
character.DefaultCorporationEid = newCorporation.Eid;

//add default extensions
Expand Down