Hallo, habe folgenden Code um verschiedene farben für aura m1,g1,p...
Code
- InstanceBaseEffect.cpp
- Such nach: void CInstanceBase::__Warrior_SetGeomgyeongAffect(bool isVisible)
- Ersetz die Funktion mit:
- void CInstanceBase::__Warrior_SetGeomgyeongAffect(bool isVisible)
- {
- if (isVisible)
- {
- if (IsWearingDress())
- return;
- if (m_kWarrior.m_dwGeomgyeongEffect)
- __DetachEffect(m_kWarrior.m_dwGeomgyeongEffect);
- m_GraphicThingInstance.SetReachScale(1.5f);
- UINT iEffect = EFFECT_WEAPON + WEAPON_ONEHAND;
- if (m_GraphicThingInstance.IsTwoHandMode())
- {
- iEffect = EFFECT_WEAPON + WEAPON_TWOHAND;
- DWORD dwSkillGrade = 0, dwSlotIndex = 0;
- if (CPythonPlayer::Instance().GetSkillSlotIndex(4, &dwSlotIndex))
- {
- if (dwSlotIndex < SKILL_MAX_NUM)
- {
- dwSkillGrade = CPythonPlayer::Instance().GetSkillGrade(dwSlotIndex);
- if (dwSkillGrade == 0)
- iEffect = EFFECT_AFFECT + 50;
- else if (dwSkillGrade == 1)
- iEffect = EFFECT_AFFECT + 51;
- else if (dwSkillGrade == 2)
- iEffect = EFFECT_AFFECT + 52;
- else if (dwSkillGrade == 3)
- iEffect = EFFECT_AFFECT + 53;
- }
- }
- }
- else
- {
- DWORD dwSkillGrade = 0, dwSlotIndex = 0;
- if (CPythonPlayer::Instance().GetSkillSlotIndex(4, &dwSlotIndex))
- {
- if (dwSlotIndex < SKILL_MAX_NUM)
- {
- dwSkillGrade = CPythonPlayer::Instance().GetSkillGrade(dwSlotIndex);
- if (dwSkillGrade == 0)
- iEffect = EFFECT_AFFECT + 50;
- else if (dwSkillGrade == 1)
- iEffect = EFFECT_AFFECT + 51;
- else if (dwSkillGrade == 2)
- iEffect = EFFECT_AFFECT + 52;
- else if (dwSkillGrade == 3)
- iEffect = EFFECT_AFFECT + 53;
- }
- }
- }
- m_kWarrior.m_dwGeomgyeongEffect = __AttachEffect(iEffect);
- }
- else
- {
- m_GraphicThingInstance.SetReachScale(1.0f);
- __DetachEffect(m_kWarrior.m_dwGeomgyeongEffect);
- m_kWarrior.m_dwGeomgyeongEffect=0;
- }
- }
- Geh in die Playersettingmodule und fueg folgendes ein:
- chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+50, "equip_right_hand", "d:/ymir work/pc/warrior/effect/Aura1-19.mse")
- chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+51, "equip_right_hand", "d:/ymir work/pc/warrior/effect/AuraM.mse")
- chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+52, "equip_right_hand", "d:/ymir work/pc/warrior/effect/AuraG.mse")
- chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT+53, "equip_right_hand", "d:/ymir work/pc/warrior/effect/AuraP.mse")
Folgender Bug taucht nun auf:
Wenn ich aura p auf einem char habe, sehe ich alle aura in p.
Selbe bei m, habe ich m sehe ich alles in m.
Bitte melden Sie sich an, um diesen Link zu sehen.