diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-03 18:01:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-03 18:17:57 +0300 |
commit | 7f299fa18a883f5e7392b00764aa1c4d2c41b212 (patch) | |
tree | f95e6ac025e652ea63adec4a38f51a8a665de9db /src/resources/iteminfo.h | |
parent | 510c8595205081a8c19002ce46b1cc0de35e59c2 (diff) | |
download | manaplus-7f299fa18a883f5e7392b00764aa1c4d2c41b212.tar.gz manaplus-7f299fa18a883f5e7392b00764aa1c4d2c41b212.tar.bz2 manaplus-7f299fa18a883f5e7392b00764aa1c4d2c41b212.tar.xz manaplus-7f299fa18a883f5e7392b00764aa1c4d2c41b212.zip |
Add rideattack-action into item db.
Diffstat (limited to 'src/resources/iteminfo.h')
-rw-r--r-- | src/resources/iteminfo.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h index 78ecf13d3..4d69b5c36 100644 --- a/src/resources/iteminfo.h +++ b/src/resources/iteminfo.h @@ -135,6 +135,8 @@ class ItemInfo final void setWaterAttackAction(const std::string &attackAction); + void setRideAttackAction(const std::string &attackAction); + // Handlers for seting and getting the string // used for particles when attacking void setMissileParticleFile(const std::string &s) @@ -170,6 +172,9 @@ class ItemInfo final const std::string &getWaterAttackAction() const { return mWaterAttackAction; } + const std::string &getRideAttackAction() const + { return mRideAttackAction; } + int getAttackRange() const A_WARN_UNUSED { return mAttackRange; } @@ -299,6 +304,7 @@ class ItemInfo final std::string mAttackAction; std::string mSkyAttackAction; std::string mWaterAttackAction; + std::string mRideAttackAction; int mAttackRange; /**< Attack range, will be zero if non weapon. */ // Particle to be shown when weapon attacks |