diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-25 02:30:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-25 02:30:47 +0300 |
commit | c9795055ee1b6079ef9b0c0e3faf4bb79704bd98 (patch) | |
tree | 147357b76a80705cf0af7bc1ec69cf417ef94812 /src/actions | |
parent | 1e5a50f6c67cd20967e139320a6c00f54e15dfe2 (diff) | |
download | mv-c9795055ee1b6079ef9b0c0e3faf4bb79704bd98.tar.gz mv-c9795055ee1b6079ef9b0c0e3faf4bb79704bd98.tar.bz2 mv-c9795055ee1b6079ef9b0c0e3faf4bb79704bd98.tar.xz mv-c9795055ee1b6079ef9b0c0e3faf4bb79704bd98.zip |
Add into player attributes prefix PLAYER_.
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/actions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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(); } |