From 344a88446cc1e15780de41c1187f40d18de7b60e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 7 Aug 2017 22:00:29 +0300 Subject: Adjust default missile particle lifetime. --- src/gui/windows/skilldialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/windows/skilldialog.cpp') diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp index b4699c525..056256938 100644 --- a/src/gui/windows/skilldialog.cpp +++ b/src/gui/windows/skilldialog.cpp @@ -569,7 +569,7 @@ void SkillDialog::loadSkillData(XmlNodeConstPtr node, missile.z = static_cast(XML::getFloatProperty( node, "missile-z", 32.0f)); missile.lifeTime = static_cast(XML::getProperty( - node, "missile-lifetime", 3000)); + node, "missile-lifetime", 500)); missile.speed = static_cast(XML::getFloatProperty( node, "missile-speed", 7.0f)); missile.dieDistance = static_cast( @@ -581,7 +581,7 @@ void SkillDialog::loadSkillData(XmlNodeConstPtr node, castingMissile.z = static_cast(XML::getFloatProperty( node, "castingMissile-z", 32.0f)); castingMissile.lifeTime = static_cast(XML::getProperty( - node, "castingMissile-lifetime", 3000)); + node, "castingMissile-lifetime", 500)); castingMissile.speed = static_cast(XML::getFloatProperty( node, "castingMissile-speed", 7.0f)); castingMissile.dieDistance = static_cast( -- cgit v1.2.3-70-g09d2