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
Distro armour and weapon wear

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> Distro Bug Reports
Display posts from previous:   

Author Message
OldnGrey



Joined: 04 Feb 2006
Posts: 520

PostPosted: Tue Apr 08, 2008 7:40 pm    Post subject: Distro armour and weapon wear Reply with quote

Since using -= does not work on object refs, the combat hook and mainhit scripts in the distro need to be modified:

combatHook.src
line 262
was: shield.hp -= 1;
should be: shield.hp := shield.hp - 1;

line 313
was: armor_hit.hp -= 1;
should be: armor_hit.hp := armor_hit.hp - 1;

There appears to be no weapon wear in the hook.



mainHitScript.src
line 118
was: armor.hp -= 1;
should be: armor.hp := armor.hp - 1;

line 241
was: shield.hp -= 1;
should be: shield.hp := shield.hp - 1;

Author Message
Madman
POL Developer


Joined: 05 Feb 2006
Posts: 30

PostPosted: Sun Apr 13, 2008 4:20 pm    Post subject: Reply with quote

Done.

Post new topic   Reply to topic    PenUltima Online Forum Index -> Distro Bug Reports All times are GMT - 4 Hours
Page 1 of 1

 




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