PageRenderTime 19ms CodeModel.GetById 17ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 1ms

/bin/scripts/commands/overChargeShot1.lua

https://bitbucket.org/TylerBerlin/swg-arkanian-dawn
Lua | 65 lines | 15 code | 15 blank | 35 comment | 0 complexity | 57aee4aec5fa610a3e3d9940e3c5ab3b 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
44OverChargeShot1Command = {
45	name = "overchargeshot1",
46
47	damageMultiplier = 2.75,
48	speedMultiplier = 1.25,
49	healthCostMultiplier = 0.5,
50	actionCostMultiplier = 0.5,
51	mindCostMultiplier = 0.5,
52	accuracyBonus = 15,
53
54	animation = "fire_1_special_single", 
55	animType = GENERATE_RANGED,
56
57	combatSpam = "overchargeshot",
58	
59	weaponType = RANGEDWEAPON,
60
61	range = -1
62}
63
64AddCommand(OverChargeShot1Command)
65