MCPcopy Create free account
hub / github.com/Naios/continuable / MyCreatureAI

Class MyCreatureAI

examples/example-ai/example-ai.cpp:62–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60};
61
62struct MyCreatureAI : CreatureAI {
63 void OnEnterCombat() override {
64 CastSpell(3736, nullptr)
65 .then(MoveTo({0, 0, 0, 0}) && Say("Walking...!", 5s))
66 .then(Say("Done!", 5s))
67 .fail(Say("Interrupted!", 5s));
68 }
69};
70
71int main(int, char**) {
72

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected