From c9795055ee1b6079ef9b0c0e3faf4bb79704bd98 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 25 Jul 2016 02:30:47 +0300 Subject: Add into player attributes prefix PLAYER_. --- src/actions/actions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/actions/actions.cpp') diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp index 1bb65fbed..615c081b3 100644 --- a/src/actions/actions.cpp +++ b/src/actions/actions.cpp @@ -566,7 +566,7 @@ impHandler0(healmd) #endif if (actorManager) { - const int matk = PlayerInfo::getStatEffective(Attributes::MATK); + const int matk = PlayerInfo::getStatEffective(Attributes::PLAYER_MATK); int maxHealingRadius; // magic levels < 2 @@ -601,7 +601,7 @@ impHandler0(itenplz) { if (playerHandler && playerHandler->canUseMagic() && - PlayerInfo::getAttribute(Attributes::MP) >= 3) + PlayerInfo::getAttribute(Attributes::PLAYER_MP) >= 3) { actorManager->itenplz(); } -- cgit v1.2.3-60-g2f50