tekproxy Distro Developer
Joined: 06 Apr 2006 Posts: 350 Location: Nederland, Texas
|
Posted: Sat Apr 22, 2006 3:12 pm Post subject: A few distro bugs |
|
|
in /pkg/systems/attributes/include/vitals.inc, the comment on line 99 should be:
| Code: | | * AP_GetVitalMaximumValue(mobile, vital_name) |
in /pkg/systems/attributes/include/stats.inc, there might need to be some RecalcVitals(mobile), so vitals will update correctly:
| Code: | function AP_SetTrueStat(mobile, stat_name, points)
SetAttributeBaseValue(mobile, stat_name, CInt(CDbl(points) * 10.0));
RecalcVitals(mobile);
endfunction
function AP_SetStatMod(mobile, stat_name, points)
SetAttributeTemporaryMod(mobile, stat_name, CInt(CDbl(points) * 10.0));
RecalcVitals(mobile);
endfunction |
and also in skills.inc, same thing:
| Code: | function AP_SetTrueSkill(mobile, skill_name, points)
SetAttributeBaseValue(mobile, skill_name, CInt(CDbl(points) * 10.0));
RecalcVitals(mobile);
endfunction
function AP_SetSkillMod(mobile, skill_name, points)
SetAttributeTemporaryMod(mobile, skill_name, CInt(CDbl(points) * 10.0));
RecalcVitals(mobile);
endfunction |
|
|