FOnline: Reloaded

Development => Bugs => Closed bugs => Topic started by: POWERPUFF on June 05, 2024, 06:47:29 am

Title: Gecko Breath Shells (fire based dmg) not affected by Pyromaniac perk
Post by: POWERPUFF on June 05, 2024, 06:47:29 am
As title says, there is no dmg difference when shooting Gecko Breath Shells with or without the pyromaniac  (+25% fire based dmg)
Title: Re: Gecko Breath Shells (fire based dmg) not affected by Pyromaniac perk
Post by: Slowhand on June 05, 2024, 07:56:09 am
As title says, there is no dmg difference when shooting Gecko Breath Shells with or without the pyromaniac  (+25% fire based dmg)

combat.fos line 2293 about from about 5 years ago, mid S3

Code: [Select]
   
    if(validAttacker)
    {
        if(attack.Attacker.Perk[PE_PYROMANIAC] != 0 && dmgType == DAMAGE_TYPE_FIRE && ammoPid != PID_SHOTGUN_DRAGON_BREATH_SHELLS)
            totalDmg += totalDmg/4; // now +25% fire dmg

This was made in purpose, probably due to balance. So it's not a bug, but a poorly documented feature.
Title: Re: Gecko Breath Shells (fire based dmg) not affected by Pyromaniac perk
Post by: Henry on July 02, 2024, 10:16:21 pm
If i read that correctly, this code line says if you do NOT have the Pyromaniac perk, and you attack with fire and your ammo is dragon's breath, then you do 1.25x dmg. To me this does not say you don't get a dmg bonus WITH Pyro.

Unless == means equals and != means NOT equals. If that's the case, then this was written specifically to exclude gecko breath ammo from Pyro's bonus dmg. That means a developer thought about it and said, nope, you should not get a dmg bonus from these fire-based shells even though you have the perk that is supposed to give you bonus dmg to fire-based attacks. We may all find that weird, but we don't all think alike.
Title: Re: Gecko Breath Shells (fire based dmg) not affected by Pyromaniac perk
Post by: Kilgore on September 04, 2024, 10:46:46 am
Fixed.