Pages:<< prev 1 next >>
Magician

GroupMembers
Posts239
JoinedJun 13, 2008
So I was just looking around the code today and found this tidbit:
The above is in swfotefuss space.c around like 5227 (stock).
Correct me if I'm wrong, but if you've learned spacecombat1 you are doing less damage to a ship vs someone who has no access to that skill? In stock it seems to be a piloting level of 5.
Or am I reading that function wrong?
ayuri
if( ch->pcdata->learned[gsn_spacecombat] > 1 && ch->pcdata->learned[gsn_spacecombat2] < 1 && ch->pcdata->learned[gsn_spacecombat3] < 1 ) ship->hull -= sdamage * 4; else if( ch->pcdata->learned[gsn_spacecombat] > 1 && ch->pcdata->learned[gsn_spacecombat2] > 1 && ch->pcdata->learned[gsn_spacecombat3] < 1 ) ship->hull -= sdamage * 5; else if( ch->pcdata->learned[gsn_spacecombat] > 1 && ch->pcdata->learned[gsn_spacecombat2] > 1 && ch->pcdata->learned[gsn_spacecombat3] > 1 ) ship->hull -= sdamage * 6; else ship->hull -= sdamage * 5;
The above is in swfotefuss space.c around like 5227 (stock).
Correct me if I'm wrong, but if you've learned spacecombat1 you are doing less damage to a ship vs someone who has no access to that skill? In stock it seems to be a piloting level of 5.
Or am I reading that function wrong?
ayuri
Conjurer

GroupFUSS Project Team
Posts341
JoinedJun 4, 2005
Nice, a 3 with the last else would make more sense
else ship->hull -= sdamage * 3;
Magician

GroupMembers
Posts239
JoinedJun 13, 2008
Yep, glad to know I wasn't completely off on that one.
ayuri
ayuri
Pages:<< prev 1 next >>