10-10-2015, 14:22 PM
Hi,
Something I am struggling with - I cannot obtain properly a skill enchant level.
Here is a simple skill-list script I was using to debug:
, but it seems "skillLvl" value is *a strangle mix* between the actual skill level + the enchant level. Example, I have a skill default level 41, the same one is enchanted to +15, and the final value I receive from "skillLvl" is 115 lol (the leading "4" is missing, and the enchant level is joined at the end)
Could you please let me know (if anyone knows) how to extract the skill enchant level.
+Suggestion - The Skill class should have another property maybe - not only skillLvl, but also skillEnchantLvl.
Something I am struggling with - I cannot obtain properly a skill enchant level.
Here is a simple skill-list script I was using to debug:
Code:
skills = GetSkills();
for skill in skills.list do
ShowToClient("Skills:", skill.name .. " - " .. tostring(skill.skillId) .. "(Lvl." .. tostring(skill.skillLvl) .. ")");
end;
, but it seems "skillLvl" value is *a strangle mix* between the actual skill level + the enchant level. Example, I have a skill default level 41, the same one is enchanted to +15, and the final value I receive from "skillLvl" is 115 lol (the leading "4" is missing, and the enchant level is joined at the end)
Could you please let me know (if anyone knows) how to extract the skill enchant level.
+Suggestion - The Skill class should have another property maybe - not only skillLvl, but also skillEnchantLvl.