- Mesaj
- 421
- Çözümler
- 23
- Beğeni
- 218
- Puan
- 744
- Ticaret Puanı
- 0
char_item.cpp:
//BUL
case REWARD_BOX_UNIQUE_ITEM_CAPE_OF_COURAGE:
//ALTINA EKLE
#ifdef ENABLE_CAPE_EFFECT_FIX
if (GetCapeEffectPulse() + 100 > thecore_pulse())
break;
//SpecificEffectPacket("d:/ymir work/effect/etc/buff/bravery_cape.mse");
SetCapeEffectPulse(thecore_pulse());
#endif
//SON HALİ ŞÖYLE OLACAK :
case REWARD_BOX_UNIQUE_ITEM_CAPE_OF_COURAGE:
#ifdef ENABLE_CAPE_EFFECT_FIX
if (GetCapeEffectPulse() + 100 > thecore_pulse())
break;
//SpecificEffectPacket("d:/ymir work/effect/etc/buff/bravery_cape.mse");
SetCapeEffectPulse(thecore_pulse());
#endif
AggregateMonster();
//item->SetCount(item->GetCount() - 1);@DsProject30
break;
char.h:
// BUL
// CHECK_UNIQUE_GROUP
bool IsEquipUniqueGroup(DWORD dwGroupVnum) const;
// END_OF_CHECK_UNIQUE_GROUP
void SendEquipment(LPCHARACTER ch);
// End of Item
// ALTINA EKLE
#ifdef ENABLE_CAPE_EFFECT_FIX
protected:
int m_iCapeEffectPulse;
public:
void SetCapeEffectPulse(int i) { m_iCapeEffectPulse = i; }
int GetCapeEffectPulse() { return m_iCapeEffectPulse; }
#endif
CommonDefines.h:
// UYGUN YERE EKLE
#define ENABLE_CAPE_EFFECT_FIX // Hızlı Cesaret Pelerini Kullanımı Önlemi