PenUltima Online

It is currently Fri Sep 05, 2008 11:38 am

All times are UTC - 8 hours




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: A few distro bugs
PostPosted: Sat Apr 22, 2006 11:12 am 
Offline
Distro Developer
User avatar

Joined: Thu Apr 06, 2006 5:11 pm
Posts: 350
Location: Nederland, Texas
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


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 22, 2006 11:59 am 
Offline

Joined: Thu Feb 02, 2006 1:41 pm
Posts: 1122
Location: Southern Central USA
*claps hands*

Yay!!!

Someone is working on the Distro scripts!

I got them to compile. I would post the source files if anyone is interested.

I'll add your functions and changes to them Tekproxy.

_________________
Sincerely,
Yukiko

I know you think you understand what you thought I said but what you heard is not exactly what I meant.

Titus 2:13


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl