Merge updates from the nightly
branch
#34
@ -2040,16 +2040,7 @@ bool CHARACTER::Damage(LPCHARACTER pAttacker, int dam, EDamageType type) // retu
|
||||
// 다른 제국 사람인 경우 데미지 10% 감소
|
||||
if (iEmpire && iMapEmpire && iEmpire != iMapEmpire)
|
||||
{
|
||||
int percent = 10;
|
||||
|
||||
if (184 <= lMapIndex && lMapIndex <= 189)
|
||||
{
|
||||
percent = 9;
|
||||
}
|
||||
else
|
||||
{
|
||||
percent = 9;
|
||||
}
|
||||
const int percent = 9;
|
||||
|
||||
dam = dam * percent / 10;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user