Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Cauta in char_battle.cpp
- COD: SELECTATI TOT
- bool CHARACTER::Damage(LPCHARACTER pAttacker, int dam, EDamageType type) // returns true if dead
- {
- Adauga asta sub:
- COD: SELECTATI TOT
- if (pAttacker && this)
- {
- if (pAttacker->IsAffectFlag(AFF_GWIGUM) && !pAttacker->GetWear(WEAR_WEAPON))
- {
- pAttacker->RemoveAffect(SKILL_GWIGEOM); //Silah yoksa büyülü keskinlik iptal agaaa
- return false;
- }
- if (pAttacker->IsAffectFlag(AFF_GEOMGYEONG) && !pAttacker->GetWear(WEAR_WEAPON))
- {
- pAttacker->RemoveAffect(SKILL_GEOMKYUNG); //Silah olmadan nereye hava aciyon agaa
- return false;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement