mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-02 21:42:17 +00:00
Streamline changes for Swimming Rule and add Sense Heading rules
This commit is contained in:
1 parent
ba49e5f696
commit
221c1f17c7
4 files changed
+38
-11
No files matched your search
+2
-6
@@ -1429,13 +1429,9 @@ bool Client::OPCharCreate(char *name, CharCreate_Struct *cc)
|
||||
SetRaceStartingSkills(&pp);
|
||||
SetClassStartingSkills(&pp);
|
||||
SetClassLanguages(&pp);
|
||||
pp.skills[SkillSenseHeading] = 200;
|
||||
|
||||
// Allow server to force swimming training from a configured level
|
||||
std::string value;
|
||||
bool userule;
|
||||
userule=RuleManager::Instance()->GetRule("Skills:SwimmingStartValue", value);
|
||||
pp.skills[SkillSwimming] = (userule) ? atoi(value.c_str()) : 100;
|
||||
pp.skills[SkillSwimming] = RuleI(Skills, SwimmingStartValue);
|
||||
pp.skills[SkillSenseHeading] = RuleI(Skills, SenseHeadingStartValue);
|
||||
|
||||
// strcpy(pp.servername, WorldConfig::get()->ShortName.c_str());
|
||||
|
||||
|
||||
Reference in new issue
Block a user