Code:
CSkillProto* pkSk = CSkillManager::instance().Get(SKILL_RESIST_PENETRATE);
if (NULL != pkSk)
{
pkSk->SetPointVar("k", 1.0f * GetSkillPower(SKILL_RESIST_PENETRATE) / 100.0f); // I'm interested in this line
iPenetratePct -= static_cast<int>(pkSk->kPointPoly.Eval());
}
My ultimate goal is to pass a new variable to the skill_proto to modify a skill output damage(this variable can have any double value).
Thanks in advance...
Edit: I found what i was looking for ( Creating a new variable for skill proto), it was in char_skill.cpp






