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

Method add_buff

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

Source from the content-addressed store, hash-verified

143}
144
145void Fish::add_buff(int _buff){
146 buff |= _buff;
147}
148
149void Fish::remove_buff(int _buff){
150 buff &= (-1)^_buff;

Callers 1

specialMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected