Skip to content

Commit 32b3d65

Browse files
authored
Merge pull request #85 from MindRapist/mr-16
2 parents 1a2cf28 + 2fdcf5a commit 32b3d65

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎src/game/char_battle.cpp‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
#include "threeway_war.h"
3838
#include "BlueDragon.h"
3939
#include "DragonLair.h"
40+
4041
#include <random>
4142
#include <algorithm>
4243

@@ -1895,6 +1896,10 @@ bool CHARACTER::Damage(LPCHARACTER pAttacker, int dam, EDamageType type) // retu
18951896
{
18961897
RemoveAffect(AFF_MANASHIELD);
18971898
}
1899+
1900+
// MR-16: Enable penetrate effect
1901+
EffectPacket(SE_PENETRATE);
1902+
// MR-16: -- END OF -- Enable penetrate effect
18981903
}
18991904
}
19001905
}
@@ -2014,7 +2019,12 @@ bool CHARACTER::Damage(LPCHARACTER pAttacker, int dam, EDamageType type) // retu
20142019

20152020
if (test_server)
20162021
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("관통 추가 데미지 %d"), GetPoint(POINT_DEF_GRADE) * (100 + GetPoint(POINT_DEF_BONUS)) / 100);
2022+
20172023
dam += GetPoint(POINT_DEF_GRADE) * (100 + GetPoint(POINT_DEF_BONUS)) / 100;
2024+
2025+
// MR-16: Enable penetrate effect
2026+
EffectPacket(SE_PENETRATE);
2027+
// MR-16: -- END OF -- Enable penetrate effect
20182028
}
20192029
}
20202030

0 commit comments

Comments
 (0)