cyphesis/rulesets/skills/DumbSkill.cpp
Olek Wojnar 7f9ff2246d Remove CVS $Id tags
The legacy tags are causing build issues in Debian.
2013-07-15 20:31:59 +02:00

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);
}