July 27, 2024, 08:12:43 am
Username:

Password:

Topic: Gecko Breath Shells (fire based dmg) not affected by Pyromaniac perk  (Read 713 times)

POWERPUFF

  • Supporter
  • Posts: 180
    • View Profile
As title says, there is no dmg difference when shooting Gecko Breath Shells with or without the pyromaniac  (+25% fire based dmg)
The Almighty Gaylords


Slowhand

  • Posts: 283
  • Go for the eye, Boo! Go for the eyes!
    • View Profile
Re: Gecko Breath Shells (fire based dmg) not affected by Pyromaniac perk
« Reply #1 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.

Henry

  • Wiki Administrator
  • Global Moderator
  • Posts: 861
  • Gravity is just a theory. Try Density.
    • View Profile
Re: Gecko Breath Shells (fire based dmg) not affected by Pyromaniac perk
« Reply #2 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.
« Last Edit: July 02, 2024, 10:29:42 pm by Henry »