/bin/scripts/commands/melee2hSweep1.lua

https://bitbucket.org/TylerBerlin/swg-arkanian-dawn · Lua · 78 lines · 25 code · 18 blank · 35 comment · 0 complexity · 227c331fe4fb1226fb9039b62f0fe118 MD5 · raw file

  1. --Copyright (C) 2007 <SWGEmu>
  2. --This File is part of Core3.
  3. --This program is free software; you can redistribute
  4. --it and/or modify it under the terms of the GNU Lesser
  5. --General Public License as published by the Free Software
  6. --Foundation; either version 2 of the License,
  7. --or (at your option) any later version.
  8. --This program is distributed in the hope that it will be useful,
  9. --but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  11. --See the GNU Lesser General Public License for
  12. --more details.
  13. --You should have received a copy of the GNU Lesser General
  14. --Public License along with this program; if not, write to
  15. --the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  16. --Linking Engine3 statically or dynamically with other modules
  17. --is making a combined work based on Engine3.
  18. --Thus, the terms and conditions of the GNU Lesser General Public License
  19. --cover the whole combination.
  20. --In addition, as a special exception, the copyright holders of Engine3
  21. --give you permission to combine Engine3 program with free software
  22. --programs or libraries that are released under the GNU LGPL and with
  23. --code included in the standard release of Core3 under the GNU LGPL
  24. --license (or modified versions of such code, with unchanged license).
  25. --You may copy and distribute such a system following the terms of the
  26. --GNU LGPL for Engine3 and the licenses of the other code concerned,
  27. --provided that you include the source code of that other code when
  28. --and as the GNU LGPL requires distribution of source code.
  29. --Note that people who make modified versions of Engine3 are not obligated
  30. --to grant this special exception for their modified versions;
  31. --it is their choice whether to do so. The GNU Lesser General Public License
  32. --gives permission to release a modified version without this exception;
  33. --this exception also makes it possible to release a modified version
  34. --which carries forward this exception.
  35. --true = 1, false = 0
  36. Melee2hSweep1Command = {
  37. name = "melee2hsweep1",
  38. damageMultiplier = 1.5,
  39. speedMultiplier = 1.5,
  40. accuracyBonus = 10,
  41. healthCostMultiplier = 0.75,
  42. actionCostMultiplier = 1.5,
  43. mindCostMultiplier = 0.75,
  44. animation = "lower_posture_2hmelee_3",
  45. combatSpam = "sweep",
  46. stateEffects = {
  47. StateEffect(
  48. POSTUREDOWN_EFFECT,
  49. { "postureDownRecovery" },
  50. { "posture_change_down_defense" },
  51. {},
  52. 100,
  53. 0,
  54. 0
  55. )
  56. },
  57. weaponType = TWOHANDMELEEWEAPON,
  58. range = -1
  59. }
  60. AddCommand(Melee2hSweep1Command)