diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-07 20:59:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-07 21:00:23 +0300 |
commit | 07d4987ae8ae1efea72d8a16b4f4bf17117c6c10 (patch) | |
tree | 70e904142d318ada8c52cb2faf28445f7c9d6a3e | |
parent | 04716c42ec49bfbb42296dd8980d6f8dd1c09e59 (diff) | |
download | plus-07d4987ae8ae1efea72d8a16b4f4bf17117c6c10.tar.gz plus-07d4987ae8ae1efea72d8a16b4f4bf17117c6c10.tar.bz2 plus-07d4987ae8ae1efea72d8a16b4f4bf17117c6c10.tar.xz plus-07d4987ae8ae1efea72d8a16b4f4bf17117c6c10.zip |
Rename skill attributes related to missile particles.
particle -> missile-particle
castingParticle -> castingMissile-particle
-rw-r--r-- | src/being/being.cpp | 4 | ||||
-rw-r--r-- | src/gui/windows/skilldialog.cpp | 8 | ||||
-rw-r--r-- | src/resources/skill/skilldata.cpp | 4 | ||||
-rw-r--r-- | src/resources/skill/skilldata.h | 4 |
4 files changed, 10 insertions, 10 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp index 030f022a2..28a6a1f8d 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -1023,7 +1023,7 @@ void Being::handleSkillCasting(Being *restrict const victim, effectManager->triggerDefault(data->castingDstEffectId, victim, paths.getIntValue("skillCastingDstEffectId")); - fireMissile(victim, data->castingParticle); + fireMissile(victim, data->castingMissileParticle); } } @@ -1046,7 +1046,7 @@ void Being::handleSkill(Being *restrict const victim, effectManager->triggerDefault(data->dstEffectId, victim, paths.getIntValue("skillDstEffectId")); - fireMissile(victim, data->particle); + fireMissile(victim, data->missileParticle); } if (this != localPlayer && (skill != nullptr)) diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp index 615ac8319..a1ad9b6ab 100644 --- a/src/gui/windows/skilldialog.cpp +++ b/src/gui/windows/skilldialog.cpp @@ -562,10 +562,10 @@ void SkillDialog::loadSkillData(XmlNodeConstPtr node, "shortName", name.substr(0, 3)); data->description = XML::langProperty( node, "description", ""); - data->particle = XML::getProperty( - node, "particle", ""); - data->castingParticle = XML::getProperty( - node, "castingParticle", ""); + data->missileParticle = XML::getProperty( + node, "missile-particle", ""); + data->castingMissileParticle = XML::getProperty( + node, "castingMissile-particle", ""); data->castingAnimation = XML::getProperty( node, "castingAnimation", diff --git a/src/resources/skill/skilldata.cpp b/src/resources/skill/skilldata.cpp index fb97a6aef..701eed31f 100644 --- a/src/resources/skill/skilldata.cpp +++ b/src/resources/skill/skilldata.cpp @@ -37,8 +37,8 @@ SkillData::SkillData() : shortName(), dispName(), description(), - particle(), - castingParticle(), + missileParticle(), + castingMissileParticle(), invokeCmd(), castingAnimation(), soundHit(std::string(), 0), diff --git a/src/resources/skill/skilldata.h b/src/resources/skill/skilldata.h index c4cc1124a..44374e98a 100644 --- a/src/resources/skill/skilldata.h +++ b/src/resources/skill/skilldata.h @@ -34,8 +34,8 @@ struct SkillData final std::string dispName; std::string description; - std::string particle; - std::string castingParticle; + std::string missileParticle; + std::string castingMissileParticle; std::string invokeCmd; std::string castingAnimation; |