them ty
This commit is contained in:
@@ -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()))
|
||||
|
||||
@@ -311,7 +311,7 @@ public class CECHostPlayer : CECPlayer
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public int GetProfession(){ return m_iProfession; }
|
||||
private void HandleJump()
|
||||
{
|
||||
if (isGrounded)
|
||||
|
||||
Reference in New Issue
Block a user