Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/THUDM/AgentTuning
/ check_buff
Method
check_buff
AgentBench.old/src/tasks/card_game/logic/src/fish.cpp:153–155 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
151
}
152
153
bool Fish::check_buff(int _buff){
154
return (buff & _buff) > 0;
155
}
156
157
void Fish::hp_debuff(int dec){
158
// hp = int(hp * rate);
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected