Bug - Fixed Protonic pack ghosts are no-copy

gausie

D̰͕̝͚̤̥̙̐̇̑͗̒e͍͔͎͈͔ͥ̉̔̅́̈l̠̪̜͓̲ͧ̍̈́͛v̻̾ͤe͗̃ͥ̐̊ͬp̔͒ͪ
Staff member
This is an easy issue for someone to make a PR on if they like!
 
This is an easy issue for someone to make a PR on if they like!
I had a quick look before I posted this but I couldn't find where it's stored (I looked in src/data/monsters.txt as it looks like src/net/sourceforge/kolmafia/persistence/MonsterDatabase.java gets the data from that file).
I also don't have a Java dev environment to build & test my changes first.
 

heeheehee

Developer
Staff member
I had a quick look before I posted this but I couldn't find where it's stored (I looked in src/data/monsters.txt as it looks like src/net/sourceforge/kolmafia/persistence/MonsterDatabase.java gets the data from that file).
I also don't have a Java dev environment to build & test my changes first.
In particular:

Code:
apathetic lizardman     5       lizardman.gif   NOCOPY Atk: 20 Def: 18 HP: 12 Init: 60 Meat: 20 P: humanoid     flavorless gruel (n100)

Note the "NOCOPY" attribute for this monster.

FightRequest.java uses this logic:
Code:
    if (monster != null && !monster.isNoCopy()) {
      Preferences.setString("lastCopyableMonster", monsterName);
    }
 
Top