Explorar o código

Removed base stat/resist increase on level. Removed stat/resist increase/decrease on mentor. Starting stats/resists now pull correctly from starting_details.

Devn00b hai 1 ano
pai
achega
b7af3e307e
Modificáronse 2 ficheiros con 5 adicións e 5 borrados
  1. 2 2
      EQ2/source/WorldServer/Player.cpp
  2. 3 3
      EQ2/source/WorldServer/client.cpp

+ 2 - 2
EQ2/source/WorldServer/Player.cpp

@@ -6718,7 +6718,7 @@ void Player::SetMentorStats(int32 effective_level, int32 target_char_id)
 	client->GetPlayer()->CalculateBonuses();
 	client->GetPlayer()->SetHP(GetTotalHP());
 	client->GetPlayer()->SetPower(GetTotalPower());
-	info->set_agi_base(effective_level * 2 + 15);
+	/*info->set_agi_base(effective_level * 2 + 15);
 	info->set_intel_base(effective_level * 2 + 15);
 	info->set_wis_base(effective_level * 2 + 15);
 	info->set_str_base(effective_level * 2 + 15);
@@ -6729,7 +6729,7 @@ void Player::SetMentorStats(int32 effective_level, int32 target_char_id)
 	info->set_mental_base((int16)(effective_level * 1.5 + 10));
 	info->set_magic_base((int16)(effective_level * 1.5 + 10));
 	info->set_divine_base((int16)(effective_level * 1.5 + 10));
-	info->set_poison_base((int16)(effective_level * 1.5 + 10));
+	info->set_poison_base((int16)(effective_level * 1.5 + 10));*/
 	GetClient()->ClearSentItemDetails();
 	if(GetClient())
 	{

+ 3 - 3
EQ2/source/WorldServer/client.cpp

@@ -4607,7 +4607,7 @@ void Client::ChangeLevel(int16 old_level, int16 new_level) {
 	GetPlayer()->CalculateBonuses();
 	GetPlayer()->SetHP(GetPlayer()->GetTotalHP());
 	GetPlayer()->SetPower(GetPlayer()->GetTotalPower());
-	InfoStruct* info = player->GetInfoStruct();
+	/*InfoStruct* info = player->GetInfoStruct();
 	info->set_agi_base(new_level * 2 + 15);
 	info->set_intel_base(new_level * 2 + 15);
 	info->set_wis_base(new_level * 2 + 15);
@@ -4620,7 +4620,7 @@ void Client::ChangeLevel(int16 old_level, int16 new_level) {
 	info->set_magic_base((int16)(new_level * 1.5 + 10));
 	info->set_divine_base((int16)(new_level * 1.5 + 10));
 	info->set_poison_base((int16)(new_level * 1.5 + 10));
-	GetPlayer()->GetInfoStruct()->set_poison_base((int16)(new_level * 1.5 + 10));
+	GetPlayer()->GetInfoStruct()->set_poison_base((int16)(new_level * 1.5 + 10));*/
 	UpdateTimeStampFlag(LEVEL_UPDATE_FLAG);
 	GetPlayer()->SetCharSheetChanged(true);
 
@@ -11333,4 +11333,4 @@ void Client::AddRecipeToPlayer(Recipe* recipe, PacketStruct* packet, int16* i) {
 			(*i)++;
 		}
 	}
-}
+}