Resultados 1 a 10 de 131

Tópico: MUEMU Season 13

Hybrid View

  1. #1
    Developer C++ InFamous's Avatar



    Data de Ingresso
    Jul 2022
    Posts
    66
    Thanks Thanks Given 
    284
    Thanks Thanks Received 
    919
    Thanked in
    30 Posts
    Mentioned
    15 Post(s)
    Humor
    Cool
    País
    Brazil
    skill files



    CSkill* CSkillManager::GetSkill(LPOBJ lpObj, int index) // OK{
    index = ((index == SKILL_NOVA_START) ? SKILL_NOVA : index);
    index = ((index == MASTER_SKILL_ADD_NOVA_START_IMPROVED) ? SKILL_NOVA : index);


    for (int n = 0; n < MAX_SKILL_LIST; n++)
    {
    if (lpObj->Skill[n].IsSkill() != 0)
    {
    if (lpObj->Skill[n].m_index == index || lpObj->Skill[n].m_skill == index)
    {
    gSkillManager.GCSkillAddSend(lpObj->Index, n, index, 0, 0);
    return &lpObj->Skill[n];
    }
    }
    }


    return 0;
    }


    skillManager.cpp
    void MasterSkillTree_4th::CGMasterSkillRecv(PMSG_FOR_MA STER_SKILL_RECV* lpMsg, int aIndex) // OK
    {
    //return; //disabled until full implementation and test of skills


    LPOBJ lpObj = &gObj[aIndex];


    if (gObjIsConnectedGP(aIndex) == 0)
    {
    return;
    }


    FOR_MASTER_SKILL_INFO ForMasterSkillTreeInfo;


    if (this->GetInfo(lpObj->Class,lpMsg->ForMasterSkill,lpMsg->Group, &ForMasterSkillTreeInfo) == 0)
    {
    return;
    }


    if (lpObj->SkillEnhanceTreePoints < ForMasterSkillTreeInfo.m_ForMasterSkillData.NeedPo int)
    {
    return;
    }


    CSkill* lpForMasterSkill = gSkillManager.GetForMasterSkill(lpObj, ForMasterSkillTreeInfo.m_ForMasterSkillData.SkillI D,lpMsg->Group);


    if (lpForMasterSkill == 0)
    {
    if (this->CheckParentSkill(lpObj, &ForMasterSkillTreeInfo)==0)
    {
    return ;
    }
    if (this->CheckForMasterSkillGroup(lpObj, lpMsg->Group, lpMsg->Line, &ForMasterSkillTreeInfo) == 0)
    {
    return;
    }
    if (this->ReplaceSkill(lpObj, ForMasterSkillTreeInfo.m_ForMasterSkillData.NeedPo int, &ForMasterSkillTreeInfo) == 0)
    {
    return;
    }


    gSkillManager.AddForMasterSkill(lpObj, ForMasterSkillTreeInfo.m_ForMasterSkillData.SkillI D, ForMasterSkillTreeInfo.m_ForMasterSkillData.NeedPo int, ForMasterSkillTreeInfo.m_ForMasterSkillData.Group) ;
    }
    else
    {
    if ((lpForMasterSkill->m_level+1) > ForMasterSkillTreeInfo.m_ForMasterSkillData.MaxPoi nt)
    {
    return;
    }
    if (this->ReplaceSkill(lpObj, lpForMasterSkill->m_level + 1, &ForMasterSkillTreeInfo) == 0)
    {
    return;
    }




    lpForMasterSkill->Set1(lpObj->Index, ForMasterSkillTreeInfo.m_ForMasterSkillData.SkillI D, (lpForMasterSkill->m_level + 1),ForMasterSkillTreeInfo.m_ForMasterSkillData.Gro up);
    }


    gSkillManager.GCSkillAddSend(lpObj->Index, gSkillManager.GetSkillSlot(lpObj, ForMasterSkillTreeInfo.m_ForMasterSkillData.SkillI D), ForMasterSkillTreeInfo.m_ForMasterSkillData.SkillI D, 0, 0);


    gSkillManager.GCSkillListSend(lpObj, 0);


    lpObj->SkillEnhanceTreePoints -= ForMasterSkillTreeInfo.m_ForMasterSkillData.NeedPo int;


    this->GCAddForMasterSkill(lpObj, &ForMasterSkillTreeInfo);


    gObjectManager.CharacterCalcAttribute(aIndex);


    //this->GCMasterSkillSend(aIndex, 0, 0, lpObj->MasterPoint, lpMsg->MasterSkill, lpMsg->MasterEmpty);
    //this->GCMasterInfoSend(lpObj);
    }
    Last edited by Mentor; 01-10-2025 at 06:45 PM.

  2. The Following 34 Users Say Thank You to InFamous For This Useful Post:


  3. #2
    Membro paPanat9s1's Avatar

    Data de Ingresso
    Feb 2024
    Posts
    23
    Thanks Thanks Given 
    23
    Thanks Thanks Received 
    2
    Thanked in
    2 Posts
    Mentioned
    0 Post(s)
    País
    Bahamas
    Citação Originally Posted by InFamous Ver Post
    skill files

    ***Hidden content cannot be quoted.***
    fix for master skill tree all opcao de skill aprimorada passiva and opcao de debuff aprimorado pasivva

    fix double goer event, i cant enter to the event but never start

Permissões de Postagem

  • Você não pode iniciar novos tópicos
  • You may not post Resposta(s)
  • Você não pode enviar anexos
  • Você não pode editar suas mensagens
  •