This commit is contained in:
NguyenVanDat
2025-10-31 18:09:22 +07:00
parent 4316661cb2
commit cbaa228446
2 changed files with 4 additions and 4 deletions
@@ -83,13 +83,13 @@ namespace BrewMonster.Scripts.Skills
while ((curID = ElementSkill.NextSkill(curID)) != 0)
{
ElementSkill pSkill = ElementSkill.Create(curID, 1);
/*int cls = pSkill.GetCls();
int playerCls = g_pGame.GetGameRun().GetHostPlayer().GetProfession();
int cls = pSkill.GetCls();
int playerCls = GameController.Instance.GetHostPlayer().GetProfession();
bool isSameClass = (cls == playerCls || cls == 255);
bool isProvidedByNPC = npcSkills.Contains(curID);
if (isSameClass && isProvidedByNPC)
/*if (isSameClass && isProvidedByNPC)
{
m_allProfSkills[curID] = pSkill;
if (!m_allRankProfSkills.ContainsKey(pSkill.GetRank()))
+1 -1
View File
@@ -311,7 +311,7 @@ public class CECHostPlayer : CECPlayer
return true;
}
public int GetProfession(){ return m_iProfession; }
private void HandleJump()
{
if (isGrounded)