PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
A few distro bugs

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    PenUltima Online Forum Index -> Development Discussion
Display posts from previous:   

Author Message
tekproxy
Distro Developer


Joined: 06 Apr 2006
Posts: 350
Location: Nederland, Texas

PostPosted: Sat Apr 22, 2006 3:12 pm    Post subject: A few distro bugs Reply with quote

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

Author Message
Yukiko



Joined: 02 Feb 2006
Posts: 1094
Location: Southern Central USA

PostPosted: Sat Apr 22, 2006 3:59 pm    Post subject: Reply with quote

*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.

Post new topic   This topic is locked: you cannot edit posts or make replies.    PenUltima Online Forum Index -> Development Discussion All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty