summaryrefslogtreecommitdiff
path: root/src/resources/skill/skillinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/skill/skillinfo.cpp')
-rw-r--r--src/resources/skill/skillinfo.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/resources/skill/skillinfo.cpp b/src/resources/skill/skillinfo.cpp
index 3c74fcaa9..3f6a50eb6 100644
--- a/src/resources/skill/skillinfo.cpp
+++ b/src/resources/skill/skillinfo.cpp
@@ -194,3 +194,11 @@ SkillData *SkillInfo::getData1(const int lev) const
return (*dataMap.begin()).second;
return (*it).second;
}
+
+std::string SkillInfo::toDataStr() const
+{
+ return strprintf("%d %d %d",
+ CAST_S32(customCastType),
+ customOffsetX,
+ customOffsetY);
+}