Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
145
void Fish::add_buff(int _buff){
146
buff |= _buff;
147
}
148
149
void Fish::remove_buff(int _buff){
150
buff &= (-1)^_buff;
Callers
1
special
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected