mirror of
https://github.com/worldforge/cyphesis
synced 2026-08-13 12:26:04 -04:00
19 lines
505 B
C++
19 lines
505 B
C++
// This file may be redistributed and modified only under the terms of
|
|
// the GNU General Public License (See COPYING for details).
|
|
// Copyright (C) 2000,2001 Alistair Riddoch
|
|
|
|
|
|
#include "common/operations.h"
|
|
|
|
#include <Atlas/Objects/Operation/Sight.h>
|
|
|
|
#include "DumbSkill.h"
|
|
|
|
using Atlas::Message::Element;
|
|
|
|
oplist DumbSkill::action(const std::string & skill, const RootOperation & op)
|
|
{
|
|
RootOperation * s = new Sight();
|
|
s->setArgs(Element::ListType(1,op.asObject()));
|
|
return oplist(1,s);
|
|
}
|