MCPcopy Create free account
hub / github.com/THUDM/AgentTuning / remove_buff

Method remove_buff

AgentBench.old/src/tasks/card_game/logic/src/fish.cpp:149–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149void Fish::remove_buff(int _buff){
150 buff &= (-1)^_buff;
151}
152
153bool Fish::check_buff(int _buff){
154 return (buff & _buff) > 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected