View unanswered posts | View active topics
|
Page 1 of 1
|
[ 2 posts ] |
|
| Author |
Message |
|
OldnGrey
|
Post subject: Distro armour and weapon wear Posted: Tue Apr 08, 2008 3:40 pm |
|
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 |
|
 |
|
Madman
|
Post subject: Posted: Sun Apr 13, 2008 12:20 pm |
|
 |
| POL Developer |
 |
Joined: Sun Feb 05, 2006 7:20 pm Posts: 45
|
|
| Top |
|
 |
|
Page 1 of 1
|
[ 2 posts ] |
|
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
|
|