Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Bug : The hidden negotiator in every cop  (Read 2190 times)

Pesi

  • Bay Watcher
    • View Profile
Bug : The hidden negotiator in every cop
« on: December 08, 2011, 09:34:53 am »

I have not seen this in action myself, this only came to my mind while I was reading fight.cpp.

It seems that if you recruit a cop, give them a guitar and have them fight with it; the cop, having gained access to the specialattack() function, will use the police negotiator conversion attack instead of the guitar. The persuasion bonus and the fact that, get this, enemies defend with their HEART instead of their WISDOM suggests that this was never meant to be wielded by liberal hands.

Fortunately, this should be very easy to fix by moving the CREATURE_COP: case from its current position to just above default: and putting the entire thing, including the "break;", inside an if(a.enemy()) block. That way it will flow over to the guitar-part if the cop is on the liberal side.
Logged

klingon13524

  • Bay Watcher
  • The Mongols are cool!
    • View Profile
Re: Bug : The hidden negotiator in every cop
« Reply #1 on: December 08, 2011, 09:44:47 am »

Thanks for fixing all of Fox's bugs for him and accelerating development!
Logged
By creating a gobstopper that never loses its flavor he broke thermodynamics
Maybe it's parasitic. It never loses its flavor because you eventually die from having your nutrients stolen by it.

EuchreJack

  • Bay Watcher
  • Lord of Norderland - Lv 20 SKOOKUM ROC
    • View Profile
Re: Bug : The hidden negotiator in every cop
« Reply #2 on: December 08, 2011, 12:58:29 pm »

And we can exploit this bug for all its worth until the next release.

I bring you: The Liberal Cop Squad!

klingon13524

  • Bay Watcher
  • The Mongols are cool!
    • View Profile
Re: Bug : The hidden negotiator in every cop
« Reply #3 on: December 08, 2011, 01:00:13 pm »

I wonder what kind of guitar skill you'd need to Liberalize the CEO using this method.
Logged
By creating a gobstopper that never loses its flavor he broke thermodynamics
Maybe it's parasitic. It never loses its flavor because you eventually die from having your nutrients stolen by it.

EuchreJack

  • Bay Watcher
  • Lord of Norderland - Lv 20 SKOOKUM ROC
    • View Profile
Re: Bug : The hidden negotiator in every cop
« Reply #4 on: December 08, 2011, 01:02:59 pm »

enemies defend with their HEART instead of their WISDOM

Not at lot, I'd imagine.

EDIT: Actually, if the Cops are using their secret negotiation skill, then they probably use the Persuasion skill.  Most likely, you need only equip the guitar: skill with the guitar is unlikely to be relevant if the skill isn't guitar-based.

CriticallyAshamed

  • Bay Watcher
    • View Profile
Re: Bug : The hidden negotiator in every cop
« Reply #5 on: December 10, 2011, 08:24:37 pm »

Hopefully in that case it is based on Charisma and Persuasion. If you found the right cop you'd have a ridiculously strong negotiator, particularly against the HARDEST of the conservatives.
Logged

Benblu

  • Bay Watcher
  • Sorry Nothing
    • View Profile
Re: Bug : The hidden negotiator in every cop
« Reply #6 on: January 09, 2012, 12:00:53 pm »

IMAGINE...
LIBERAL CEOS!
LIBERAL EMINENT SCIENTISTS!
LIBERAL HANGIN' JUDGES!
AND MORE!
Logged
Quoth the Raven, Nevermore!

Ottofar

  • Bay Watcher
  • Wait, spinning?
    • View Profile
Re: Bug : The hidden negotiator in every cop
« Reply #7 on: January 11, 2012, 04:02:13 pm »

I remember having a maxed out guitar squad go to the CEO.
All they did was make him all weepy and stuff, but when he didn't go liberal after about ten minutes of holding down the fight button I just had someone pummel him to submission.

Leafsnail

  • Bay Watcher
  • A single snail can make a world go extinct.
    • View Profile
Re: Bug : The hidden negotiator in every cop
« Reply #8 on: January 11, 2012, 09:08:26 pm »

But if they have to defend with heart rather than wisdom they'd be in pretty serious trouble, since their stats for that would be really low.  Man, police negotiations are kindof like armour piercing rounds.
Logged

Pesi

  • Bay Watcher
    • View Profile
Re: Bug : The hidden negotiator in every cop
« Reply #9 on: January 11, 2012, 11:01:46 pm »

EuchreJack is correct in that they need only equip the guitar. They get an attack-bonus from persuasion in the same way judges get an attack-bonus from law. The difference is that your own persuasion skill doesn't negate this like your law skill does against judges. Police negotiators are scary people.

The reason Ottofar couldn't liberalize the CEO is because of another bug I mentioned in the suggestions thread. (We're just swimming in bugs, aren't we?) The CEO starts out at 1000 juice. Each successful attack lowers that by 50. He can't help ending up at exactly 100 juice which is where the bug kicks in.
Logged