Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
Retrait skillGain combat côté serveur
Browse files Browse the repository at this point in the history
  • Loading branch information
Jhobean committed Sep 8, 2024
1 parent f86db6d commit c296070
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ We decide to fork this branch because some little modification are made for adap


#### Here the list of difference between the reel sphere X:
[Commit](https://google.com) 2024-09-08
1. It's now impossible to gain skillpoint with weapon skill during battle (Now script side).

[Commit](https://github.com/Cryptonite-UO/ResistanceCore/commit/39129ca395991d777c51c31391d83eaf82f692a4) 2023-03-23
1. It's now possible to hide and detect hidden during battle. This action will result to reset all actual action.

Expand Down
10 changes: 5 additions & 5 deletions src/game/chars/CCharFight.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2334,11 +2334,11 @@ WAR_SWING_TYPE CChar::Fight_Hit( CChar * pCharTarg )
}

// Check for passive skill gain
if ( m_pPlayer && (!pCharTarg->m_pArea->IsFlag(REGION_FLAG_NO_PVP) || !pCharTarg->IsPlayer()) )
{
Skill_Experience(skill, m_Act_Difficulty);
Skill_Experience(SKILL_TACTICS, m_Act_Difficulty);
}
//if ( m_pPlayer && (!pCharTarg->m_pArea->IsFlag(REGION_FLAG_NO_PVP) || !pCharTarg->IsPlayer()) )
//{
// Skill_Experience(skill, m_Act_Difficulty);
// Skill_Experience(SKILL_TACTICS, m_Act_Difficulty);
//}
}

return WAR_SWING_EQUIPPING_NOWAIT;
Expand Down

0 comments on commit c296070

Please sign in to comment.