Play Home Contribute GitHub Join Us Discourse Staff Members GitHub Contribution Guides Team

FRIEND-OR-FOE lua template


The code at this level (friend or foe) doesn’t have lua template so I think I made one:

while true do
    local friend = self:findNearestFriend()
    if friend then
        self:say("To battle, " .. + "!")
    -- Now tell the enemy to go away


Cool. Maybe contact one of the Artisans or Archmages