WalkSpeed is set where?
Posted: Tue Jan 19, 2010 5:43 pm
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision Number:
L2JDP Revision Number:
I just have a basic question. How is PCInstance Walk speed created? From looking at CharTemplates.sql you can see there is no WalkSpd Column. And in CharTemplateTable, there is set.set("baseWalkSpd", 0); So its default is 0. When looking at the CharStat you get :
public int getWalkSpeed()
{
if (_activeChar == null)
return 1;
double baseWalkSpd = _activeChar.getTemplate().baseWalkSpd;
if (baseWalkSpd == 0)
return 0;
return (int) calcStat(Stats.WALK_SPEED, baseWalkSpd, null, null);
}
I am a bit confused.. I am just a programmer trying to understand a bit more.
Thanks,
Ken
ยป Find Revision
L2J Revision Number:
L2JDP Revision Number:
I just have a basic question. How is PCInstance Walk speed created? From looking at CharTemplates.sql you can see there is no WalkSpd Column. And in CharTemplateTable, there is set.set("baseWalkSpd", 0); So its default is 0. When looking at the CharStat you get :
public int getWalkSpeed()
{
if (_activeChar == null)
return 1;
double baseWalkSpd = _activeChar.getTemplate().baseWalkSpd;
if (baseWalkSpd == 0)
return 0;
return (int) calcStat(Stats.WALK_SPEED, baseWalkSpd, null, null);
}
I am a bit confused.. I am just a programmer trying to understand a bit more.
Thanks,
Ken