Login
User Name:

Password:



Register

Forgot your password?
do_owhere recursive
Author: Khonsu
Submitted by: Khonsu
Changes list / Addchange
Author: Khonsu
Submitted by: Khonsu
6Dragons mp3 sound pack
Author: Vladaar
Submitted by: Vladaar
AFKMud 2.2.3
Author: AFKMud Team
Submitted by: Samson
SWFOTEFUSS 1.5
Author: Various
Submitted by: Samson
Users Online
DotBot, AhrefsBot, Google

Members: 0
Guests: 25
Stats
Files
Topics
Posts
Members
Newest Member
489
3,791
19,644
596
Elwood

Today's Birthdays
There are no member birthdays today.
» SmaugMuds » Bugfix Lists » SWFOTE FUSS Bugfix List » [Bug] Space Combat Skills use...
Forum Rules | Mark all | Recent Posts

[Bug] Space Combat Skills use wrong modifier
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Aug 14, 2010 12:38 pm   
Go to the top of the page
Go to the bottom of the page

InfiniteAxis
Off the Edge of the Map
GroupAdministrators
Posts1,200
JoinedMar 21, 2006

 
Bug: Space Combat skills use wrong modifier
Danger: Low - Damage is higher without skill then with skill.
Found by: Ayuri
Fixed by: Keberus

---

Space.c, damage_ship_ch
Find:
    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;


Change that last else to:
    else
        ship->hull -= sdamage * 3;


You ended up doing more damage without space combat 1 then you did with the skill trained.

Pages:<< prev 1 next >>