PageRenderTime 23ms CodeModel.GetById 13ms app.highlight 5ms RepoModel.GetById 2ms app.codeStats 0ms

/bin/scripts/commands/fullAutoSingle2.lua

https://bitbucket.org/TylerBerlin/swg-arkanian-dawn
Lua | 97 lines | 45 code | 17 blank | 35 comment | 0 complexity | 97ec0e581c0ab09f92721bb4be7b7065 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
44FullAutoSingle2Command = {
45        name = "fullautosingle2",
46
47	damageMultiplier = 3.5,
48	speedMultiplier = 1.5,
49	healthCostMultiplier = 2.0,
50	actionCostMultiplier = 2.5,
51	mindCostMultiplier = 0.5,
52	accuracyBonus = 25,
53
54	animation = "fire_7_single", 
55	animType = GENERATE_RANGED,
56
57	combatSpam = "s_auto",
58
59	stateEffects = {
60	  StateEffect( 
61		DIZZY_EFFECT, 
62		{}, 
63		{ "dizzy_defense", "resistance_states" }, 
64		{ "jedi_state_defense" }, 
65		30, 
66		0, 
67		30 
68	  ),
69	  StateEffect( 
70		BLIND_EFFECT, 
71		{}, 
72		{ "blind_defense", "resistance_states" }, 
73		{ "jedi_state_defense" }, 
74		30, 
75		0, 
76		40 
77	  ),
78	  StateEffect( 
79		STUN_EFFECT, 
80		{}, 
81		{ "stun_defense", "resistance_states" }, 
82		{ "jedi_state_defense" }, 
83		30, 
84		0, 
85		30 
86	  )
87	},
88
89	poolsToDamage = RANDOM_ATTRIBUTE,
90	
91	weaponType = CARBINEWEAPON,
92
93	range = -1
94}
95
96AddCommand(FullAutoSingle2Command)
97