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

Method hp_max

AgentBench.old/src/tasks/card_game/logic/src/fishset.cpp:136–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136int FishSet::hp_max() const {
137 int ret = 0;
138 for(auto f: fishs)
139 ret = std::max(ret, f->hp);
140 return ret;
141}
142
143bool FishSet::is_all_dead(){
144 for(auto fish : fishs)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected