PenUltima Online

It is currently Sun Sep 07, 2008 1:03 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Distro armour and weapon wear
PostPosted: Tue Apr 08, 2008 3:40 pm 
Online

Joined: Sat Feb 04, 2006 6:26 pm
Posts: 549
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;


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 13, 2008 12:20 pm 
Offline
POL Developer
User avatar

Joined: Sun Feb 05, 2006 7:20 pm
Posts: 45
Done.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 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