PageRenderTime 25ms CodeModel.GetById 18ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/bin/scripts/commands/avoidIncapacitation.lua

https://bitbucket.org/TylerBerlin/swg-arkanian-dawn
Lua | 53 lines | 7 code | 10 blank | 36 comment | 0 complexity | 43662e3fa466eb224316fa4bda5a9c35 MD5 | raw file
 1--Copyright (C) 2007 <SWGEmu>
 2
 3--This File is part of Core3.
 4
 5--This program is free software; you can redistribute
 6--it and/or modify it under the terms of the GNU Lesser
 7--General Public License as published by the Free Software
 8--Foundation; either version 2 of the License,
 9--or (at your option) any later version.
10
11--This program is distributed in the hope that it will be useful,
12--but WITHOUT ANY WARRANTY; without even the implied warranty of
13--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14--See the GNU Lesser General Public License for
15--more details.
16
17--You should have received a copy of the GNU Lesser General
18--Public License along with this program; if not, write to
19--the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
21--Linking Engine3 statically or dynamically with other modules
22--is making a combined work based on Engine3.
23--Thus, the terms and conditions of the GNU Lesser General Public License
24--cover the whole combination.
25
26--In addition, as a special exception, the copyright holders of Engine3
27--give you permission to combine Engine3 program with free software
28--programs or libraries that are released under the GNU LGPL and with
29--code included in the standard release of Core3 under the GNU LGPL
30--license (or modified versions of such code, with unchanged license).
31--You may copy and distribute such a system following the terms of the
32--GNU LGPL for Engine3 and the licenses of the other code concerned,
33--provided that you include the source code of that other code when
34--and as the GNU LGPL requires distribution of source code.
35
36--Note that people who make modified versions of Engine3 are not obligated
37--to grant this special exception for their modified versions;
38--it is their choice whether to do so. The GNU Lesser General Public License
39--gives permission to release a modified version without this exception;
40--this exception also makes it possible to release a modified version
41--which carries forward this exception.
42--true = 1, false = 0
43
44AvoidIncapacitationCommand = {
45        name = "avoidincapacitation",
46        forceCost = 750,
47        duration = 30,
48        --animationCRC = hashCode()
49        clientEffect = "clienteffect/pl_force_avoid_incap_self.cef",
50}
51
52AddCommand(AvoidIncapacitationCommand)
53