warscript 0.0.1-dev.f5421e8 → 0.0.1-dev.f594e71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/attributes.d.ts +6 -0
- package/attributes.lua +17 -1
- package/core/types/frame.d.ts +1 -0
- package/core/types/frame.lua +136 -58
- package/core/types/handle.lua +9 -9
- package/core/types/item.d.ts +1 -0
- package/core/types/item.lua +1 -0
- package/core/types/player.d.ts +18 -1
- package/core/types/player.lua +76 -26
- package/core/types/playerCamera.d.ts +2 -0
- package/core/types/playerCamera.lua +123 -5
- package/core/types/playerColor.lua +4 -3
- package/core/types/sound.d.ts +1 -1
- package/core/types/sound.lua +19 -9
- package/core/types/tileCell.d.ts +11 -1
- package/core/types/tileCell.lua +97 -0
- package/core/types/timer.d.ts +3 -1
- package/core/types/timer.lua +27 -2
- package/core/types/unit.d.ts +4 -0
- package/core/types/unit.lua +4 -0
- package/decl/native.d.ts +1718 -964
- package/destroyable.d.ts +1 -0
- package/destroyable.lua +9 -0
- package/engine/behavior.d.ts +14 -1
- package/engine/behavior.lua +230 -70
- package/engine/behaviour/ability/apply-buff.lua +5 -5
- package/engine/behaviour/ability/damage.d.ts +9 -3
- package/engine/behaviour/ability/damage.lua +40 -49
- package/engine/behaviour/ability/emulate-impact.d.ts +1 -1
- package/engine/behaviour/ability/emulate-impact.lua +23 -7
- package/engine/behaviour/ability/remove-buffs.d.ts +9 -0
- package/engine/behaviour/ability/remove-buffs.lua +21 -0
- package/engine/behaviour/ability/restore-mana.d.ts +1 -1
- package/engine/behaviour/ability/restore-mana.lua +6 -6
- package/engine/behaviour/ability.d.ts +12 -6
- package/engine/behaviour/ability.lua +49 -17
- package/engine/behaviour/unit/stun-immunity.d.ts +12 -6
- package/engine/behaviour/unit/stun-immunity.lua +57 -31
- package/engine/behaviour/unit.d.ts +40 -3
- package/engine/behaviour/unit.lua +270 -6
- package/engine/buff.d.ts +75 -28
- package/engine/buff.lua +433 -196
- package/engine/index.d.ts +2 -1
- package/engine/internal/ability.d.ts +11 -1
- package/engine/internal/ability.lua +100 -41
- package/engine/internal/item/ability.lua +63 -11
- package/engine/internal/item/fields.d.ts +12 -0
- package/engine/internal/item/fields.lua +33 -0
- package/engine/internal/item+owner.d.ts +1 -0
- package/engine/internal/item+owner.lua +19 -6
- package/engine/internal/item.d.ts +28 -16
- package/engine/internal/item.lua +241 -82
- package/engine/internal/mechanics/cast-ability.lua +6 -3
- package/engine/internal/misc/damage-metadata-by-target.lua +5 -0
- package/engine/internal/misc/frame-coordinates.d.ts +2 -0
- package/engine/internal/misc/frame-coordinates.lua +21 -0
- package/engine/internal/misc/get-terrain-z.d.ts +2 -0
- package/engine/internal/misc/get-terrain-z.lua +11 -0
- package/engine/internal/misc/player-local-handle.d.ts +2 -0
- package/engine/internal/misc/player-local-handle.lua +5 -0
- package/engine/internal/object-data/armor-bonus.d.ts +2 -0
- package/engine/internal/object-data/attribute-bonus.lua +2 -2
- package/engine/internal/object-data/health-bonus.d.ts +2 -0
- package/engine/internal/object-data/health-bonus.lua +16 -0
- package/engine/internal/object-data/mana-bonus.d.ts +2 -0
- package/engine/internal/object-data/mana-bonus.lua +16 -0
- package/engine/internal/object-data/mana-regeneration-rate-increase-factor.d.ts +2 -0
- package/engine/internal/object-data/mana-regeneration-rate-increase-factor.lua +16 -0
- package/engine/internal/unit/ability.d.ts +35 -0
- package/engine/internal/unit/ability.lua +113 -12
- package/engine/internal/unit/allowed-targets.d.ts +1 -1
- package/engine/internal/unit/allowed-targets.lua +9 -1
- package/engine/internal/unit/appearance.d.ts +15 -0
- package/engine/internal/unit/appearance.lua +85 -0
- package/engine/internal/unit/attributes.d.ts +17 -0
- package/engine/internal/unit/attributes.lua +46 -0
- package/engine/internal/unit/bag.d.ts +18 -0
- package/engine/internal/unit/bag.lua +63 -0
- package/engine/internal/unit/bonus.d.ts +6 -0
- package/engine/internal/unit/bonus.lua +33 -3
- package/engine/internal/unit/buff.d.ts +2 -2
- package/engine/internal/unit/buff.lua +34 -19
- package/engine/internal/unit/equipment.d.ts +36 -0
- package/engine/internal/unit/equipment.lua +169 -0
- package/engine/internal/unit/fly-height.d.ts +7 -0
- package/engine/internal/unit/fly-height.lua +20 -0
- package/engine/internal/unit/interrupts.d.ts +12 -0
- package/engine/internal/unit/interrupts.lua +28 -0
- package/engine/internal/unit/{item.d.ts → inventory.d.ts} +3 -3
- package/engine/internal/unit/{item.lua → inventory.lua} +25 -26
- package/engine/internal/unit/main-selected.lua +12 -27
- package/engine/internal/unit/order.d.ts +20 -0
- package/engine/internal/unit/order.lua +136 -0
- package/engine/internal/unit/pseudo-passive-abilities.d.ts +2 -0
- package/engine/internal/unit/pseudo-passive-abilities.lua +11 -0
- package/engine/internal/unit/range-event.d.ts +12 -0
- package/engine/internal/unit/range-event.lua +90 -0
- package/engine/internal/unit/scale.d.ts +7 -0
- package/engine/internal/unit/scale.lua +20 -0
- package/engine/internal/unit+ability.lua +10 -1
- package/engine/internal/unit+bonus.lua +3 -3
- package/engine/internal/unit+damage.d.ts +11 -11
- package/engine/internal/unit+damage.lua +43 -14
- package/engine/internal/unit+spellSteal.lua +1 -2
- package/engine/internal/unit-missile-data.lua +58 -32
- package/engine/internal/unit-missile-launch.lua +52 -14
- package/engine/internal/unit.d.ts +39 -27
- package/engine/internal/unit.lua +382 -269
- package/engine/local-client.d.ts +27 -0
- package/engine/local-client.lua +370 -54
- package/engine/object-data/auxiliary/armor-type.d.ts +11 -0
- package/engine/object-data/auxiliary/armor-type.lua +46 -0
- package/engine/object-data/auxiliary/attack-type.d.ts +7 -8
- package/engine/object-data/auxiliary/attack-type.lua +42 -0
- package/engine/object-data/auxiliary/equipment-slot.d.ts +12 -0
- package/engine/object-data/auxiliary/equipment-slot.lua +2 -0
- package/engine/object-data/auxiliary/equipment-type.d.ts +13 -0
- package/engine/object-data/auxiliary/equipment-type.lua +2 -0
- package/engine/object-data/auxiliary/health-regeneration-type.d.ts +8 -0
- package/engine/object-data/auxiliary/health-regeneration-type.lua +2 -0
- package/engine/object-data/auxiliary/item-tag.d.ts +12 -0
- package/engine/object-data/auxiliary/item-tag.lua +2 -0
- package/engine/object-data/auxiliary/movement-type.d.ts +7 -7
- package/engine/object-data/auxiliary/movement-type.lua +22 -0
- package/engine/object-data/auxiliary/sound-set-name.d.ts +14 -3
- package/engine/object-data/auxiliary/unit-attribute.d.ts +6 -0
- package/engine/object-data/auxiliary/unit-attribute.lua +9 -0
- package/engine/object-data/entry/ability-type/apprehend.d.ts +22 -0
- package/engine/object-data/entry/ability-type/apprehend.lua +66 -0
- package/engine/object-data/entry/ability-type/armor-bonus.d.ts +8 -0
- package/engine/object-data/entry/ability-type/{armor-increase.lua → armor-bonus.lua} +9 -9
- package/engine/object-data/entry/ability-type/banshee.d.ts +8 -0
- package/engine/object-data/entry/ability-type/banshee.lua +13 -0
- package/engine/object-data/entry/ability-type/banshees-wail-damage-amp.d.ts +12 -0
- package/engine/object-data/entry/ability-type/banshees-wail-damage-amp.lua +27 -0
- package/engine/object-data/entry/ability-type/banshees-wail.d.ts +31 -0
- package/engine/object-data/entry/ability-type/banshees-wail.lua +117 -0
- package/engine/object-data/entry/ability-type/battering-ram.d.ts +33 -0
- package/engine/object-data/entry/ability-type/battering-ram.lua +130 -0
- package/engine/object-data/entry/ability-type/berserk.d.ts +2 -0
- package/engine/object-data/entry/ability-type/berserk.lua +13 -0
- package/engine/object-data/entry/ability-type/blank-configurable.d.ts +3 -0
- package/engine/object-data/entry/ability-type/blank-configurable.lua +30 -0
- package/engine/object-data/entry/ability-type/cleansing-fire.d.ts +27 -0
- package/engine/object-data/entry/ability-type/cleansing-fire.lua +104 -0
- package/engine/object-data/entry/ability-type/consecration.d.ts +15 -0
- package/engine/object-data/entry/ability-type/consecration.lua +52 -0
- package/engine/object-data/entry/ability-type/cooldown-reduction.d.ts +12 -0
- package/engine/object-data/entry/ability-type/cooldown-reduction.lua +39 -0
- package/engine/object-data/entry/ability-type/critical-strike-system.d.ts +18 -0
- package/engine/object-data/entry/ability-type/critical-strike-system.lua +65 -0
- package/engine/object-data/entry/ability-type/deathseeker-arrows.d.ts +21 -0
- package/engine/object-data/entry/ability-type/deathseeker-arrows.lua +78 -0
- package/engine/object-data/entry/ability-type/equipment-inventory-interface.d.ts +8 -0
- package/engine/object-data/entry/ability-type/equipment-inventory-interface.lua +13 -0
- package/engine/object-data/entry/ability-type/equipment-inventory.d.ts +13 -0
- package/engine/object-data/entry/ability-type/equipment-inventory.lua +27 -0
- package/engine/object-data/entry/ability-type/equipment.d.ts +13 -0
- package/engine/object-data/entry/ability-type/equipment.lua +27 -0
- package/engine/object-data/entry/ability-type/grant-talent-point.d.ts +8 -0
- package/engine/object-data/entry/ability-type/grant-talent-point.lua +13 -0
- package/engine/object-data/entry/ability-type/grim-conviction.d.ts +36 -0
- package/engine/object-data/entry/ability-type/grim-conviction.lua +131 -0
- package/engine/object-data/entry/ability-type/grit.d.ts +18 -0
- package/engine/object-data/entry/ability-type/grit.lua +65 -0
- package/engine/object-data/entry/ability-type/guiding-hand.d.ts +27 -0
- package/engine/object-data/entry/ability-type/guiding-hand.lua +104 -0
- package/engine/object-data/entry/ability-type/headsplitter.d.ts +27 -0
- package/engine/object-data/entry/ability-type/headsplitter.lua +104 -0
- package/engine/object-data/entry/ability-type/{armor-increase.d.ts → healing-modifier.d.ts} +4 -3
- package/engine/object-data/entry/ability-type/healing-modifier.lua +26 -0
- package/engine/object-data/entry/ability-type/health-bonus.d.ts +8 -0
- package/engine/object-data/entry/ability-type/health-bonus.lua +26 -0
- package/engine/object-data/entry/ability-type/heroic-slash.d.ts +18 -0
- package/engine/object-data/entry/ability-type/heroic-slash.lua +65 -0
- package/engine/object-data/entry/ability-type/holy-wrath.d.ts +30 -0
- package/engine/object-data/entry/ability-type/holy-wrath.lua +117 -0
- package/engine/object-data/entry/ability-type/inspire-courage.d.ts +18 -0
- package/engine/object-data/entry/ability-type/inspire-courage.lua +65 -0
- package/engine/object-data/entry/ability-type/lights-mercy.d.ts +27 -0
- package/engine/object-data/entry/ability-type/lights-mercy.lua +104 -0
- package/engine/object-data/entry/ability-type/mana-bonus.d.ts +8 -0
- package/engine/object-data/entry/ability-type/mana-bonus.lua +26 -0
- package/engine/object-data/entry/ability-type/mana-efficiency.d.ts +12 -0
- package/engine/object-data/entry/ability-type/mana-efficiency.lua +39 -0
- package/engine/object-data/entry/ability-type/mana-regeneration.d.ts +8 -0
- package/engine/object-data/entry/ability-type/mana-regeneration.lua +26 -0
- package/engine/object-data/entry/ability-type/mind-control.d.ts +21 -0
- package/engine/object-data/entry/ability-type/mind-control.lua +78 -0
- package/engine/object-data/entry/ability-type/on-attack-cast-spell.d.ts +21 -0
- package/engine/object-data/entry/ability-type/on-attack-cast-spell.lua +52 -0
- package/engine/object-data/entry/ability-type/on-basic-attack-cast-spell.d.ts +19 -0
- package/engine/object-data/entry/ability-type/on-basic-attack-cast-spell.lua +65 -0
- package/engine/object-data/entry/ability-type/on-hit-cast-spell.d.ts +15 -0
- package/engine/object-data/entry/ability-type/on-hit-cast-spell.lua +26 -0
- package/engine/object-data/entry/ability-type/on-magic-attack-cast-spell.d.ts +6 -0
- package/engine/object-data/entry/ability-type/on-magic-attack-cast-spell.lua +12 -0
- package/engine/object-data/entry/ability-type/permanent-invisibility.d.ts +8 -0
- package/engine/object-data/entry/ability-type/permanent-invisibility.lua +26 -0
- package/engine/object-data/entry/ability-type/provoke.d.ts +21 -0
- package/engine/object-data/entry/ability-type/provoke.lua +66 -0
- package/engine/object-data/entry/ability-type/raise-the-banner.d.ts +9 -0
- package/engine/object-data/entry/ability-type/raise-the-banner.lua +26 -0
- package/engine/object-data/entry/ability-type/reincarnation.d.ts +8 -0
- package/engine/object-data/entry/ability-type/reincarnation.lua +26 -0
- package/engine/object-data/entry/ability-type/resolve.d.ts +12 -0
- package/engine/object-data/entry/ability-type/resolve.lua +39 -0
- package/engine/object-data/entry/ability-type/righteous-fury.d.ts +33 -0
- package/engine/object-data/entry/ability-type/righteous-fury.lua +130 -0
- package/engine/object-data/entry/ability-type/sacred-aura.d.ts +27 -0
- package/engine/object-data/entry/ability-type/sacred-aura.lua +104 -0
- package/engine/object-data/entry/ability-type/slow-poison.d.ts +10 -0
- package/engine/object-data/entry/ability-type/slow-poison.lua +58 -0
- package/engine/object-data/entry/ability-type/soul-lantern.d.ts +30 -0
- package/engine/object-data/entry/ability-type/soul-lantern.lua +117 -0
- package/engine/object-data/entry/ability-type/spell-amp.d.ts +15 -0
- package/engine/object-data/entry/ability-type/spell-amp.lua +52 -0
- package/engine/object-data/entry/ability-type/spell-critical-strike.d.ts +12 -0
- package/engine/object-data/entry/ability-type/spell-critical-strike.lua +39 -0
- package/engine/object-data/entry/ability-type/spell-vamp.d.ts +12 -0
- package/engine/object-data/entry/ability-type/spell-vamp.lua +39 -0
- package/engine/object-data/entry/ability-type/stackable-evasion.d.ts +9 -0
- package/engine/object-data/entry/ability-type/stackable-evasion.lua +13 -0
- package/engine/object-data/entry/ability-type/stackable-hardened-skin.d.ts +21 -0
- package/engine/object-data/entry/ability-type/stackable-hardened-skin.lua +78 -0
- package/engine/object-data/entry/ability-type/stackable-life-steal.d.ts +9 -0
- package/engine/object-data/entry/ability-type/stackable-life-steal.lua +26 -0
- package/engine/object-data/entry/ability-type/stackable-spell-damage-reduction.d.ts +9 -0
- package/engine/object-data/entry/ability-type/stackable-spell-damage-reduction.lua +13 -0
- package/engine/object-data/entry/ability-type/stackable-thorn-shield.d.ts +9 -0
- package/engine/object-data/entry/ability-type/stackable-thorn-shield.lua +13 -0
- package/engine/object-data/entry/ability-type/stat-details.d.ts +12 -0
- package/engine/object-data/entry/ability-type/stat-details.lua +27 -0
- package/engine/object-data/entry/ability-type/surge-of-light.d.ts +33 -0
- package/engine/object-data/entry/ability-type/surge-of-light.lua +130 -0
- package/engine/object-data/entry/ability-type/sweeping-strike.d.ts +57 -0
- package/engine/object-data/entry/ability-type/sweeping-strike.lua +234 -0
- package/engine/object-data/entry/ability-type/talents.d.ts +12 -0
- package/engine/object-data/entry/ability-type/talents.lua +27 -0
- package/engine/object-data/entry/ability-type/unyielding-guard.d.ts +30 -0
- package/engine/object-data/entry/ability-type/unyielding-guard.lua +117 -0
- package/engine/object-data/entry/ability-type/valiant-charge.d.ts +27 -0
- package/engine/object-data/entry/ability-type/valiant-charge.lua +104 -0
- package/engine/object-data/entry/ability-type/warcry.d.ts +9 -0
- package/engine/object-data/entry/ability-type/warcry.lua +26 -0
- package/engine/object-data/entry/ability-type/withering-fire.d.ts +21 -0
- package/engine/object-data/entry/ability-type/withering-fire.lua +78 -0
- package/engine/object-data/entry/ability-type.d.ts +12 -3
- package/engine/object-data/entry/ability-type.lua +148 -7
- package/engine/object-data/entry/buff-type/applicable.lua +113 -104
- package/engine/object-data/entry/buff-type.d.ts +10 -12
- package/engine/object-data/entry/buff-type.lua +37 -27
- package/engine/object-data/entry/destructible-type.d.ts +32 -2
- package/engine/object-data/entry/destructible-type.lua +181 -0
- package/engine/object-data/entry/item-type.d.ts +12 -3
- package/engine/object-data/entry/item-type.lua +52 -0
- package/engine/object-data/entry/lightning-type.d.ts +2 -2
- package/engine/object-data/entry/sound-preset.d.ts +2 -2
- package/engine/object-data/entry/unit-type.d.ts +64 -6
- package/engine/object-data/entry/unit-type.lua +531 -85
- package/engine/object-data/entry/upgrade.d.ts +2 -2
- package/engine/object-data/entry.d.ts +4 -1
- package/engine/object-field/ability.d.ts +4 -4
- package/engine/object-field/ability.lua +9 -8
- package/engine/object-field/item.d.ts +22 -0
- package/engine/object-field/item.lua +118 -0
- package/engine/object-field/unit.d.ts +72 -3
- package/engine/object-field/unit.lua +268 -7
- package/engine/object-field.d.ts +26 -7
- package/engine/object-field.lua +360 -119
- package/engine/random.d.ts +10 -0
- package/engine/random.lua +21 -0
- package/engine/standard/entries/ability-type.d.ts +3102 -7
- package/engine/standard/entries/ability-type.lua +0 -6
- package/engine/standard/entries/buff-type.d.ts +3 -0
- package/engine/standard/entries/buff-type.lua +3 -0
- package/engine/standard/entries/item-type.d.ts +1299 -0
- package/engine/standard/entries/item-type.lua +2 -0
- package/engine/standard/entries/unit-type.d.ts +5 -0
- package/engine/standard/entries/unit-type.lua +5 -0
- package/engine/standard/fields/ability.d.ts +2 -2
- package/engine/standard/fields/ability.lua +2 -2
- package/engine/standard/fields/item.d.ts +4 -0
- package/engine/standard/fields/item.lua +6 -0
- package/engine/standard/fields/unit.d.ts +12 -0
- package/engine/standard/fields/unit.lua +20 -0
- package/engine/synchronization.d.ts +11 -0
- package/engine/synchronization.lua +77 -0
- package/engine/text-tag.d.ts +36 -2
- package/engine/text-tag.lua +250 -10
- package/engine/unit.d.ts +10 -1
- package/engine/unit.lua +10 -1
- package/event.d.ts +1 -1
- package/lualib_bundle.lua +1 -1
- package/math.d.ts +2 -0
- package/math.lua +14 -0
- package/net/socket.lua +1 -1
- package/network.lua +25 -1
- package/objutil/buff.lua +11 -10
- package/objutil/object.lua +1 -1
- package/operation.d.ts +8 -1
- package/operation.lua +38 -18
- package/package.json +3 -23
- package/patch-lua.lua +15 -0
- package/patch-lualib.lua +1 -1
- package/utility/arrays.d.ts +2 -0
- package/utility/arrays.lua +11 -0
- package/utility/callback-array.d.ts +17 -0
- package/utility/callback-array.lua +61 -0
- package/utility/functions.d.ts +8 -0
- package/utility/functions.lua +13 -0
- package/utility/linked-map.d.ts +35 -0
- package/utility/linked-map.lua +107 -0
- package/utility/linked-set.d.ts +5 -1
- package/utility/linked-set.lua +49 -1
- package/utility/lua-maps.d.ts +15 -2
- package/utility/lua-maps.lua +53 -2
- package/utility/lua-sets.d.ts +2 -0
- package/utility/lua-sets.lua +7 -0
- package/utility/random.d.ts +102 -0
- package/utility/random.lua +273 -0
- package/utility/records.lua +20 -1
- package/utility/types.d.ts +3 -0
- package/utility/unordered-map.d.ts +27 -0
- package/utility/unordered-map.lua +99 -0
- package/core/types/order.d.ts +0 -25
- package/core/types/order.lua +0 -55
- /package/engine/internal/{object-data/armor-increase.d.ts → misc/damage-metadata-by-target.d.ts} +0 -0
- /package/engine/internal/object-data/{armor-increase.lua → armor-bonus.lua} +0 -0
- /package/engine/object-data/entry/ability-type/{attribute-increase.d.ts → attribute-bonus.d.ts} +0 -0
- /package/engine/object-data/entry/ability-type/{attribute-increase.lua → attribute-bonus.lua} +0 -0
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
local ____lualib = require("lualib_bundle")
|
|
2
|
+
local __TS__Class = ____lualib.__TS__Class
|
|
3
|
+
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
4
|
+
local __TS__SetDescriptor = ____lualib.__TS__SetDescriptor
|
|
5
|
+
local ____exports = {}
|
|
6
|
+
local ____ability_2Dtype = require("engine.object-data.entry.ability-type")
|
|
7
|
+
local AbilityType = ____ability_2Dtype.AbilityType
|
|
8
|
+
____exports.SacredAuraAbilityType = __TS__Class()
|
|
9
|
+
local SacredAuraAbilityType = ____exports.SacredAuraAbilityType
|
|
10
|
+
SacredAuraAbilityType.name = "SacredAuraAbilityType"
|
|
11
|
+
__TS__ClassExtends(SacredAuraAbilityType, AbilityType)
|
|
12
|
+
SacredAuraAbilityType.BASE_ID = fourCC("AHas")
|
|
13
|
+
__TS__SetDescriptor(
|
|
14
|
+
SacredAuraAbilityType.prototype,
|
|
15
|
+
"allyMagicResistanceIncreaseFactor",
|
|
16
|
+
{
|
|
17
|
+
get = function(self)
|
|
18
|
+
return self:getNumberLevelField("hsa1")
|
|
19
|
+
end,
|
|
20
|
+
set = function(self, allyMagicResistanceIncreaseFactor)
|
|
21
|
+
self:setNumberLevelField("hsa1", allyMagicResistanceIncreaseFactor)
|
|
22
|
+
end
|
|
23
|
+
},
|
|
24
|
+
true
|
|
25
|
+
)
|
|
26
|
+
__TS__SetDescriptor(
|
|
27
|
+
SacredAuraAbilityType.prototype,
|
|
28
|
+
"allyHealingIncreasePercentage",
|
|
29
|
+
{
|
|
30
|
+
get = function(self)
|
|
31
|
+
return self:getNumberLevelField("hsa2")
|
|
32
|
+
end,
|
|
33
|
+
set = function(self, allyHealingIncreasePercentage)
|
|
34
|
+
self:setNumberLevelField("hsa2", allyHealingIncreasePercentage)
|
|
35
|
+
end
|
|
36
|
+
},
|
|
37
|
+
true
|
|
38
|
+
)
|
|
39
|
+
__TS__SetDescriptor(
|
|
40
|
+
SacredAuraAbilityType.prototype,
|
|
41
|
+
"allyCooldownReductionIncreaseFactor",
|
|
42
|
+
{
|
|
43
|
+
get = function(self)
|
|
44
|
+
return self:getNumberLevelField("hsa3")
|
|
45
|
+
end,
|
|
46
|
+
set = function(self, allyCooldownReductionIncreaseFactor)
|
|
47
|
+
self:setNumberLevelField("hsa3", allyCooldownReductionIncreaseFactor)
|
|
48
|
+
end
|
|
49
|
+
},
|
|
50
|
+
true
|
|
51
|
+
)
|
|
52
|
+
__TS__SetDescriptor(
|
|
53
|
+
SacredAuraAbilityType.prototype,
|
|
54
|
+
"enemyMagicResistanceDecreaseFactor",
|
|
55
|
+
{
|
|
56
|
+
get = function(self)
|
|
57
|
+
return self:getNumberLevelField("hsa4")
|
|
58
|
+
end,
|
|
59
|
+
set = function(self, enemyMagicResistanceDecreaseFactor)
|
|
60
|
+
self:setNumberLevelField("hsa4", enemyMagicResistanceDecreaseFactor)
|
|
61
|
+
end
|
|
62
|
+
},
|
|
63
|
+
true
|
|
64
|
+
)
|
|
65
|
+
__TS__SetDescriptor(
|
|
66
|
+
SacredAuraAbilityType.prototype,
|
|
67
|
+
"enemyHealingDecreaseFactor",
|
|
68
|
+
{
|
|
69
|
+
get = function(self)
|
|
70
|
+
return self:getNumberLevelField("hsa5")
|
|
71
|
+
end,
|
|
72
|
+
set = function(self, enemyHealingDecreaseFactor)
|
|
73
|
+
self:setNumberLevelField("hsa5", enemyHealingDecreaseFactor)
|
|
74
|
+
end
|
|
75
|
+
},
|
|
76
|
+
true
|
|
77
|
+
)
|
|
78
|
+
__TS__SetDescriptor(
|
|
79
|
+
SacredAuraAbilityType.prototype,
|
|
80
|
+
"enemyCooldownIncreaseFactor",
|
|
81
|
+
{
|
|
82
|
+
get = function(self)
|
|
83
|
+
return self:getNumberLevelField("hsa6")
|
|
84
|
+
end,
|
|
85
|
+
set = function(self, enemyCooldownIncreaseFactor)
|
|
86
|
+
self:setNumberLevelField("hsa6", enemyCooldownIncreaseFactor)
|
|
87
|
+
end
|
|
88
|
+
},
|
|
89
|
+
true
|
|
90
|
+
)
|
|
91
|
+
__TS__SetDescriptor(
|
|
92
|
+
SacredAuraAbilityType.prototype,
|
|
93
|
+
"allyFlatManaRegeneration",
|
|
94
|
+
{
|
|
95
|
+
get = function(self)
|
|
96
|
+
return self:getNumberLevelField("hsa7")
|
|
97
|
+
end,
|
|
98
|
+
set = function(self, allyFlatManaRegeneration)
|
|
99
|
+
self:setNumberLevelField("hsa7", allyFlatManaRegeneration)
|
|
100
|
+
end
|
|
101
|
+
},
|
|
102
|
+
true
|
|
103
|
+
)
|
|
104
|
+
return ____exports
|
|
@@ -9,4 +9,14 @@ export declare class SlowPoisonAbilityType extends AbilityType {
|
|
|
9
9
|
set movementSpeedDecreaseFactor(movementSpeedDecreaseFactor: ObjectDataEntryLevelFieldValueSupplier<number>);
|
|
10
10
|
get attackSpeedDecreaseFactor(): number[];
|
|
11
11
|
set attackSpeedDecreaseFactor(attackSpeedDecreaseFactor: ObjectDataEntryLevelFieldValueSupplier<number>);
|
|
12
|
+
get isDamageStacking(): boolean[];
|
|
13
|
+
set isDamageStacking(isDamageStacking: ObjectDataEntryLevelFieldValueSupplier<boolean>);
|
|
14
|
+
get isMovementSpeedFactorStacking(): boolean[];
|
|
15
|
+
set isMovementSpeedFactorStacking(isMovementSpeedFactorStacking: ObjectDataEntryLevelFieldValueSupplier<boolean>);
|
|
16
|
+
get isAttackSpeedFactorStacking(): boolean[];
|
|
17
|
+
set isAttackSpeedFactorStacking(isAttackSpeedFactorStacking: ObjectDataEntryLevelFieldValueSupplier<boolean>);
|
|
18
|
+
get isAbleToKill(): boolean[];
|
|
19
|
+
set isAbleToKill(isAbleToKill: ObjectDataEntryLevelFieldValueSupplier<boolean>);
|
|
20
|
+
private setOption;
|
|
21
|
+
private getOption;
|
|
12
22
|
}
|
|
@@ -9,6 +9,12 @@ ____exports.SlowPoisonAbilityType = __TS__Class()
|
|
|
9
9
|
local SlowPoisonAbilityType = ____exports.SlowPoisonAbilityType
|
|
10
10
|
SlowPoisonAbilityType.name = "SlowPoisonAbilityType"
|
|
11
11
|
__TS__ClassExtends(SlowPoisonAbilityType, AbilityType)
|
|
12
|
+
function SlowPoisonAbilityType.prototype.setOption(self, option, supplier)
|
|
13
|
+
self:setFlagLevelFieldValue("Spo4", option, supplier)
|
|
14
|
+
end
|
|
15
|
+
function SlowPoisonAbilityType.prototype.getOption(self, option)
|
|
16
|
+
return self:getFlagLevelFieldValue("Spo4", option)
|
|
17
|
+
end
|
|
12
18
|
SlowPoisonAbilityType.BASE_ID = fourCC("Aspo")
|
|
13
19
|
__TS__SetDescriptor(
|
|
14
20
|
SlowPoisonAbilityType.prototype,
|
|
@@ -49,4 +55,56 @@ __TS__SetDescriptor(
|
|
|
49
55
|
},
|
|
50
56
|
true
|
|
51
57
|
)
|
|
58
|
+
__TS__SetDescriptor(
|
|
59
|
+
SlowPoisonAbilityType.prototype,
|
|
60
|
+
"isDamageStacking",
|
|
61
|
+
{
|
|
62
|
+
get = function(self)
|
|
63
|
+
return self:getOption(1)
|
|
64
|
+
end,
|
|
65
|
+
set = function(self, isDamageStacking)
|
|
66
|
+
self:setOption(1, isDamageStacking)
|
|
67
|
+
end
|
|
68
|
+
},
|
|
69
|
+
true
|
|
70
|
+
)
|
|
71
|
+
__TS__SetDescriptor(
|
|
72
|
+
SlowPoisonAbilityType.prototype,
|
|
73
|
+
"isMovementSpeedFactorStacking",
|
|
74
|
+
{
|
|
75
|
+
get = function(self)
|
|
76
|
+
return self:getOption(2)
|
|
77
|
+
end,
|
|
78
|
+
set = function(self, isMovementSpeedFactorStacking)
|
|
79
|
+
self:setOption(2, isMovementSpeedFactorStacking)
|
|
80
|
+
end
|
|
81
|
+
},
|
|
82
|
+
true
|
|
83
|
+
)
|
|
84
|
+
__TS__SetDescriptor(
|
|
85
|
+
SlowPoisonAbilityType.prototype,
|
|
86
|
+
"isAttackSpeedFactorStacking",
|
|
87
|
+
{
|
|
88
|
+
get = function(self)
|
|
89
|
+
return self:getOption(4)
|
|
90
|
+
end,
|
|
91
|
+
set = function(self, isAttackSpeedFactorStacking)
|
|
92
|
+
self:setOption(4, isAttackSpeedFactorStacking)
|
|
93
|
+
end
|
|
94
|
+
},
|
|
95
|
+
true
|
|
96
|
+
)
|
|
97
|
+
__TS__SetDescriptor(
|
|
98
|
+
SlowPoisonAbilityType.prototype,
|
|
99
|
+
"isAbleToKill",
|
|
100
|
+
{
|
|
101
|
+
get = function(self)
|
|
102
|
+
return self:getOption(8)
|
|
103
|
+
end,
|
|
104
|
+
set = function(self, isAbleToKill)
|
|
105
|
+
self:setOption(8, isAbleToKill)
|
|
106
|
+
end
|
|
107
|
+
},
|
|
108
|
+
true
|
|
109
|
+
)
|
|
52
110
|
return ____exports
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/** @noSelfInFile */
|
|
2
|
+
import { AbilityType, AbilityTypeId } from "../ability-type";
|
|
3
|
+
import { ObjectDataEntryLevelFieldValueSupplier } from "../../entry";
|
|
4
|
+
export declare class SoulLanternAbilityType extends AbilityType {
|
|
5
|
+
static readonly BASE_ID: AbilityTypeId;
|
|
6
|
+
/** Ally Mana Per Second */
|
|
7
|
+
get allyManaPerSecond(): number[];
|
|
8
|
+
set allyManaPerSecond(allyManaPerSecond: ObjectDataEntryLevelFieldValueSupplier<number>);
|
|
9
|
+
/** Ally Healing Per Second */
|
|
10
|
+
get allyHealingPerSecond(): number[];
|
|
11
|
+
set allyHealingPerSecond(allyHealingPerSecond: ObjectDataEntryLevelFieldValueSupplier<number>);
|
|
12
|
+
/** Ally Spell Resist Percent */
|
|
13
|
+
get allySpellResistancePercentage(): number[];
|
|
14
|
+
set allySpellResistancePercentage(allySpellResistancePercentage: ObjectDataEntryLevelFieldValueSupplier<number>);
|
|
15
|
+
/** Ally Spell Amp Percent */
|
|
16
|
+
get allySpellAmpPercentage(): number[];
|
|
17
|
+
set allySpellAmpPercentage(allySpellAmpPercentage: ObjectDataEntryLevelFieldValueSupplier<number>);
|
|
18
|
+
/** Ally Spell Crit Hit Percent */
|
|
19
|
+
get allySpellCriticalHitPercentage(): number[];
|
|
20
|
+
set allySpellCriticalHitPercentage(allySpellCriticalHitPercentage: ObjectDataEntryLevelFieldValueSupplier<number>);
|
|
21
|
+
/** Ally Movement Speed Percent */
|
|
22
|
+
get allyMovementSpeedPercentage(): number[];
|
|
23
|
+
set allyMovementSpeedPercentage(allyMovementSpeedPercentage: ObjectDataEntryLevelFieldValueSupplier<number>);
|
|
24
|
+
/** Enemy Mana Per Second */
|
|
25
|
+
get enemyManaPerSecond(): number[];
|
|
26
|
+
set enemyManaPerSecond(enemyManaPerSecond: ObjectDataEntryLevelFieldValueSupplier<number>);
|
|
27
|
+
/** Enemy Damage Per Second */
|
|
28
|
+
get enemyDamagePerSecond(): number[];
|
|
29
|
+
set enemyDamagePerSecond(enemyDamagePerSecond: ObjectDataEntryLevelFieldValueSupplier<number>);
|
|
30
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
local ____lualib = require("lualib_bundle")
|
|
2
|
+
local __TS__Class = ____lualib.__TS__Class
|
|
3
|
+
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
4
|
+
local __TS__SetDescriptor = ____lualib.__TS__SetDescriptor
|
|
5
|
+
local ____exports = {}
|
|
6
|
+
local ____ability_2Dtype = require("engine.object-data.entry.ability-type")
|
|
7
|
+
local AbilityType = ____ability_2Dtype.AbilityType
|
|
8
|
+
____exports.SoulLanternAbilityType = __TS__Class()
|
|
9
|
+
local SoulLanternAbilityType = ____exports.SoulLanternAbilityType
|
|
10
|
+
SoulLanternAbilityType.name = "SoulLanternAbilityType"
|
|
11
|
+
__TS__ClassExtends(SoulLanternAbilityType, AbilityType)
|
|
12
|
+
SoulLanternAbilityType.BASE_ID = fourCC("AUla")
|
|
13
|
+
__TS__SetDescriptor(
|
|
14
|
+
SoulLanternAbilityType.prototype,
|
|
15
|
+
"allyManaPerSecond",
|
|
16
|
+
{
|
|
17
|
+
get = function(self)
|
|
18
|
+
return self:getNumberLevelField("ula1")
|
|
19
|
+
end,
|
|
20
|
+
set = function(self, allyManaPerSecond)
|
|
21
|
+
self:setNumberLevelField("ula1", allyManaPerSecond)
|
|
22
|
+
end
|
|
23
|
+
},
|
|
24
|
+
true
|
|
25
|
+
)
|
|
26
|
+
__TS__SetDescriptor(
|
|
27
|
+
SoulLanternAbilityType.prototype,
|
|
28
|
+
"allyHealingPerSecond",
|
|
29
|
+
{
|
|
30
|
+
get = function(self)
|
|
31
|
+
return self:getNumberLevelField("ula2")
|
|
32
|
+
end,
|
|
33
|
+
set = function(self, allyHealingPerSecond)
|
|
34
|
+
self:setNumberLevelField("ula2", allyHealingPerSecond)
|
|
35
|
+
end
|
|
36
|
+
},
|
|
37
|
+
true
|
|
38
|
+
)
|
|
39
|
+
__TS__SetDescriptor(
|
|
40
|
+
SoulLanternAbilityType.prototype,
|
|
41
|
+
"allySpellResistancePercentage",
|
|
42
|
+
{
|
|
43
|
+
get = function(self)
|
|
44
|
+
return self:getNumberLevelField("ula3")
|
|
45
|
+
end,
|
|
46
|
+
set = function(self, allySpellResistancePercentage)
|
|
47
|
+
self:setNumberLevelField("ula3", allySpellResistancePercentage)
|
|
48
|
+
end
|
|
49
|
+
},
|
|
50
|
+
true
|
|
51
|
+
)
|
|
52
|
+
__TS__SetDescriptor(
|
|
53
|
+
SoulLanternAbilityType.prototype,
|
|
54
|
+
"allySpellAmpPercentage",
|
|
55
|
+
{
|
|
56
|
+
get = function(self)
|
|
57
|
+
return self:getNumberLevelField("ula4")
|
|
58
|
+
end,
|
|
59
|
+
set = function(self, allySpellAmpPercentage)
|
|
60
|
+
self:setNumberLevelField("ula4", allySpellAmpPercentage)
|
|
61
|
+
end
|
|
62
|
+
},
|
|
63
|
+
true
|
|
64
|
+
)
|
|
65
|
+
__TS__SetDescriptor(
|
|
66
|
+
SoulLanternAbilityType.prototype,
|
|
67
|
+
"allySpellCriticalHitPercentage",
|
|
68
|
+
{
|
|
69
|
+
get = function(self)
|
|
70
|
+
return self:getNumberLevelField("ula5")
|
|
71
|
+
end,
|
|
72
|
+
set = function(self, allySpellCriticalHitPercentage)
|
|
73
|
+
self:setNumberLevelField("ula5", allySpellCriticalHitPercentage)
|
|
74
|
+
end
|
|
75
|
+
},
|
|
76
|
+
true
|
|
77
|
+
)
|
|
78
|
+
__TS__SetDescriptor(
|
|
79
|
+
SoulLanternAbilityType.prototype,
|
|
80
|
+
"allyMovementSpeedPercentage",
|
|
81
|
+
{
|
|
82
|
+
get = function(self)
|
|
83
|
+
return self:getNumberLevelField("ula6")
|
|
84
|
+
end,
|
|
85
|
+
set = function(self, allyMovementSpeedPercentage)
|
|
86
|
+
self:setNumberLevelField("ula6", allyMovementSpeedPercentage)
|
|
87
|
+
end
|
|
88
|
+
},
|
|
89
|
+
true
|
|
90
|
+
)
|
|
91
|
+
__TS__SetDescriptor(
|
|
92
|
+
SoulLanternAbilityType.prototype,
|
|
93
|
+
"enemyManaPerSecond",
|
|
94
|
+
{
|
|
95
|
+
get = function(self)
|
|
96
|
+
return self:getNumberLevelField("ula7")
|
|
97
|
+
end,
|
|
98
|
+
set = function(self, enemyManaPerSecond)
|
|
99
|
+
self:setNumberLevelField("ula7", enemyManaPerSecond)
|
|
100
|
+
end
|
|
101
|
+
},
|
|
102
|
+
true
|
|
103
|
+
)
|
|
104
|
+
__TS__SetDescriptor(
|
|
105
|
+
SoulLanternAbilityType.prototype,
|
|
106
|
+
"enemyDamagePerSecond",
|
|
107
|
+
{
|
|
108
|
+
get = function(self)
|
|
109
|
+
return self:getNumberLevelField("ula8")
|
|
110
|
+
end,
|
|
111
|
+
set = function(self, enemyDamagePerSecond)
|
|
112
|
+
self:setNumberLevelField("ula8", enemyDamagePerSecond)
|
|
113
|
+
end
|
|
114
|
+
},
|
|
115
|
+
true
|
|
116
|
+
)
|
|
117
|
+
return ____exports
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/** @noSelfInFile */
|
|
2
|
+
import { AbilityType, AbilityTypeId } from "../ability-type";
|
|
3
|
+
import { ObjectDataEntryLevelFieldValueSupplier } from "../../entry";
|
|
4
|
+
export declare class SpellAmpAbilityType extends AbilityType {
|
|
5
|
+
static readonly BASE_ID: AbilityTypeId;
|
|
6
|
+
/** Spell Amp */
|
|
7
|
+
get spellAmp(): number[];
|
|
8
|
+
set spellAmp(spellAmp: ObjectDataEntryLevelFieldValueSupplier<number>);
|
|
9
|
+
/** Flat Bonus */
|
|
10
|
+
get isFlatBonus(): boolean[];
|
|
11
|
+
set isFlatBonus(isFlatBonus: ObjectDataEntryLevelFieldValueSupplier<boolean>);
|
|
12
|
+
/** Applies to Healing from Items */
|
|
13
|
+
get appliesToItemHealing(): boolean[];
|
|
14
|
+
set appliesToItemHealing(appliesToItemHealing: ObjectDataEntryLevelFieldValueSupplier<boolean>);
|
|
15
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
local ____lualib = require("lualib_bundle")
|
|
2
|
+
local __TS__Class = ____lualib.__TS__Class
|
|
3
|
+
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
4
|
+
local __TS__SetDescriptor = ____lualib.__TS__SetDescriptor
|
|
5
|
+
local ____exports = {}
|
|
6
|
+
local ____ability_2Dtype = require("engine.object-data.entry.ability-type")
|
|
7
|
+
local AbilityType = ____ability_2Dtype.AbilityType
|
|
8
|
+
____exports.SpellAmpAbilityType = __TS__Class()
|
|
9
|
+
local SpellAmpAbilityType = ____exports.SpellAmpAbilityType
|
|
10
|
+
SpellAmpAbilityType.name = "SpellAmpAbilityType"
|
|
11
|
+
__TS__ClassExtends(SpellAmpAbilityType, AbilityType)
|
|
12
|
+
SpellAmpAbilityType.BASE_ID = fourCC("AIap")
|
|
13
|
+
__TS__SetDescriptor(
|
|
14
|
+
SpellAmpAbilityType.prototype,
|
|
15
|
+
"spellAmp",
|
|
16
|
+
{
|
|
17
|
+
get = function(self)
|
|
18
|
+
return self:getNumberLevelField("Isa1")
|
|
19
|
+
end,
|
|
20
|
+
set = function(self, spellAmp)
|
|
21
|
+
self:setNumberLevelField("Isa1", spellAmp)
|
|
22
|
+
end
|
|
23
|
+
},
|
|
24
|
+
true
|
|
25
|
+
)
|
|
26
|
+
__TS__SetDescriptor(
|
|
27
|
+
SpellAmpAbilityType.prototype,
|
|
28
|
+
"isFlatBonus",
|
|
29
|
+
{
|
|
30
|
+
get = function(self)
|
|
31
|
+
return self:getBooleanLevelField("Isa2")
|
|
32
|
+
end,
|
|
33
|
+
set = function(self, isFlatBonus)
|
|
34
|
+
self:setBooleanLevelField("Isa2", isFlatBonus)
|
|
35
|
+
end
|
|
36
|
+
},
|
|
37
|
+
true
|
|
38
|
+
)
|
|
39
|
+
__TS__SetDescriptor(
|
|
40
|
+
SpellAmpAbilityType.prototype,
|
|
41
|
+
"appliesToItemHealing",
|
|
42
|
+
{
|
|
43
|
+
get = function(self)
|
|
44
|
+
return self:getBooleanLevelField("Isa3")
|
|
45
|
+
end,
|
|
46
|
+
set = function(self, appliesToItemHealing)
|
|
47
|
+
self:setBooleanLevelField("Isa3", appliesToItemHealing)
|
|
48
|
+
end
|
|
49
|
+
},
|
|
50
|
+
true
|
|
51
|
+
)
|
|
52
|
+
return ____exports
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** @noSelfInFile */
|
|
2
|
+
import { AbilityType, AbilityTypeId } from "../ability-type";
|
|
3
|
+
import { ObjectDataEntryLevelFieldValueSupplier } from "../../entry";
|
|
4
|
+
export declare class SpellCriticalStrikeAbilityType extends AbilityType {
|
|
5
|
+
static readonly BASE_ID: AbilityTypeId;
|
|
6
|
+
/** Chance to Critical Strike */
|
|
7
|
+
get criticalStrikePercentageProbability(): number[];
|
|
8
|
+
set criticalStrikePercentageProbability(criticalStrikePercentageProbability: ObjectDataEntryLevelFieldValueSupplier<number>);
|
|
9
|
+
/** Damage Multiplier */
|
|
10
|
+
get damageFactor(): number[];
|
|
11
|
+
set damageFactor(damageFactor: ObjectDataEntryLevelFieldValueSupplier<number>);
|
|
12
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
local ____lualib = require("lualib_bundle")
|
|
2
|
+
local __TS__Class = ____lualib.__TS__Class
|
|
3
|
+
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
4
|
+
local __TS__SetDescriptor = ____lualib.__TS__SetDescriptor
|
|
5
|
+
local ____exports = {}
|
|
6
|
+
local ____ability_2Dtype = require("engine.object-data.entry.ability-type")
|
|
7
|
+
local AbilityType = ____ability_2Dtype.AbilityType
|
|
8
|
+
____exports.SpellCriticalStrikeAbilityType = __TS__Class()
|
|
9
|
+
local SpellCriticalStrikeAbilityType = ____exports.SpellCriticalStrikeAbilityType
|
|
10
|
+
SpellCriticalStrikeAbilityType.name = "SpellCriticalStrikeAbilityType"
|
|
11
|
+
__TS__ClassExtends(SpellCriticalStrikeAbilityType, AbilityType)
|
|
12
|
+
SpellCriticalStrikeAbilityType.BASE_ID = fourCC("AIsc")
|
|
13
|
+
__TS__SetDescriptor(
|
|
14
|
+
SpellCriticalStrikeAbilityType.prototype,
|
|
15
|
+
"criticalStrikePercentageProbability",
|
|
16
|
+
{
|
|
17
|
+
get = function(self)
|
|
18
|
+
return self:getNumberLevelField("Ocr1")
|
|
19
|
+
end,
|
|
20
|
+
set = function(self, criticalStrikePercentageProbability)
|
|
21
|
+
self:setNumberLevelField("Ocr1", criticalStrikePercentageProbability)
|
|
22
|
+
end
|
|
23
|
+
},
|
|
24
|
+
true
|
|
25
|
+
)
|
|
26
|
+
__TS__SetDescriptor(
|
|
27
|
+
SpellCriticalStrikeAbilityType.prototype,
|
|
28
|
+
"damageFactor",
|
|
29
|
+
{
|
|
30
|
+
get = function(self)
|
|
31
|
+
return self:getNumberLevelField("Ixr2")
|
|
32
|
+
end,
|
|
33
|
+
set = function(self, damageFactor)
|
|
34
|
+
self:setNumberLevelField("Ixr2", damageFactor)
|
|
35
|
+
end
|
|
36
|
+
},
|
|
37
|
+
true
|
|
38
|
+
)
|
|
39
|
+
return ____exports
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** @noSelfInFile */
|
|
2
|
+
import { AbilityType, AbilityTypeId } from "../ability-type";
|
|
3
|
+
import { ObjectDataEntryLevelFieldValueSupplier } from "../../entry";
|
|
4
|
+
export declare class SpellVampAbilityType extends AbilityType {
|
|
5
|
+
static readonly BASE_ID: AbilityTypeId;
|
|
6
|
+
/** Spell Vamp */
|
|
7
|
+
get spellVamp(): number[];
|
|
8
|
+
set spellVamp(spellVamp: ObjectDataEntryLevelFieldValueSupplier<number>);
|
|
9
|
+
/** Flat Bonus */
|
|
10
|
+
get isFlatBonus(): boolean[];
|
|
11
|
+
set isFlatBonus(isFlatBonus: ObjectDataEntryLevelFieldValueSupplier<boolean>);
|
|
12
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
local ____lualib = require("lualib_bundle")
|
|
2
|
+
local __TS__Class = ____lualib.__TS__Class
|
|
3
|
+
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
4
|
+
local __TS__SetDescriptor = ____lualib.__TS__SetDescriptor
|
|
5
|
+
local ____exports = {}
|
|
6
|
+
local ____ability_2Dtype = require("engine.object-data.entry.ability-type")
|
|
7
|
+
local AbilityType = ____ability_2Dtype.AbilityType
|
|
8
|
+
____exports.SpellVampAbilityType = __TS__Class()
|
|
9
|
+
local SpellVampAbilityType = ____exports.SpellVampAbilityType
|
|
10
|
+
SpellVampAbilityType.name = "SpellVampAbilityType"
|
|
11
|
+
__TS__ClassExtends(SpellVampAbilityType, AbilityType)
|
|
12
|
+
SpellVampAbilityType.BASE_ID = fourCC("AIsv")
|
|
13
|
+
__TS__SetDescriptor(
|
|
14
|
+
SpellVampAbilityType.prototype,
|
|
15
|
+
"spellVamp",
|
|
16
|
+
{
|
|
17
|
+
get = function(self)
|
|
18
|
+
return self:getNumberLevelField("Isv1")
|
|
19
|
+
end,
|
|
20
|
+
set = function(self, spellVamp)
|
|
21
|
+
self:setNumberLevelField("Isv1", spellVamp)
|
|
22
|
+
end
|
|
23
|
+
},
|
|
24
|
+
true
|
|
25
|
+
)
|
|
26
|
+
__TS__SetDescriptor(
|
|
27
|
+
SpellVampAbilityType.prototype,
|
|
28
|
+
"isFlatBonus",
|
|
29
|
+
{
|
|
30
|
+
get = function(self)
|
|
31
|
+
return self:getBooleanLevelField("Isv2")
|
|
32
|
+
end,
|
|
33
|
+
set = function(self, isFlatBonus)
|
|
34
|
+
self:setBooleanLevelField("Isv2", isFlatBonus)
|
|
35
|
+
end
|
|
36
|
+
},
|
|
37
|
+
true
|
|
38
|
+
)
|
|
39
|
+
return ____exports
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** @noSelfInFile */
|
|
2
|
+
import { EvasionAbilityType } from "./evasion";
|
|
3
|
+
import { AbilityTypeId } from "../ability-type";
|
|
4
|
+
/**
|
|
5
|
+
* Stacking variant of evasion (AHes); same fields as AEev.
|
|
6
|
+
*/
|
|
7
|
+
export declare class StackableEvasionAbilityType extends EvasionAbilityType {
|
|
8
|
+
static readonly BASE_ID: AbilityTypeId;
|
|
9
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
local ____lualib = require("lualib_bundle")
|
|
2
|
+
local __TS__Class = ____lualib.__TS__Class
|
|
3
|
+
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
4
|
+
local ____exports = {}
|
|
5
|
+
local ____evasion = require("engine.object-data.entry.ability-type.evasion")
|
|
6
|
+
local EvasionAbilityType = ____evasion.EvasionAbilityType
|
|
7
|
+
--- Stacking variant of evasion (AHes); same fields as AEev.
|
|
8
|
+
____exports.StackableEvasionAbilityType = __TS__Class()
|
|
9
|
+
local StackableEvasionAbilityType = ____exports.StackableEvasionAbilityType
|
|
10
|
+
StackableEvasionAbilityType.name = "StackableEvasionAbilityType"
|
|
11
|
+
__TS__ClassExtends(StackableEvasionAbilityType, EvasionAbilityType)
|
|
12
|
+
StackableEvasionAbilityType.BASE_ID = fourCC("AHes")
|
|
13
|
+
return ____exports
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/** @noSelfInFile */
|
|
2
|
+
import { AbilityType, AbilityTypeId } from "../ability-type";
|
|
3
|
+
import { ObjectDataEntryLevelFieldValueSupplier } from "../../entry";
|
|
4
|
+
export declare class StackableHardenedSkinAbilityType extends AbilityType {
|
|
5
|
+
static readonly BASE_ID: AbilityTypeId;
|
|
6
|
+
/** Chance to Reduce Damage (%) */
|
|
7
|
+
get damageReductionPercentageProbability(): number[];
|
|
8
|
+
set damageReductionPercentageProbability(damageReductionPercentageProbability: ObjectDataEntryLevelFieldValueSupplier<number>);
|
|
9
|
+
/** Minimum Damage */
|
|
10
|
+
get minimumDamage(): number[];
|
|
11
|
+
set minimumDamage(minimumDamage: ObjectDataEntryLevelFieldValueSupplier<number>);
|
|
12
|
+
/** Ignored Damage */
|
|
13
|
+
get ignoredDamage(): number[];
|
|
14
|
+
set ignoredDamage(ignoredDamage: ObjectDataEntryLevelFieldValueSupplier<number>);
|
|
15
|
+
/** Include Ranged Damage */
|
|
16
|
+
get includesRangedDamage(): boolean[];
|
|
17
|
+
set includesRangedDamage(includesRangedDamage: ObjectDataEntryLevelFieldValueSupplier<boolean>);
|
|
18
|
+
/** Include Melee Damage */
|
|
19
|
+
get includesMeleeDamage(): boolean[];
|
|
20
|
+
set includesMeleeDamage(includesMeleeDamage: ObjectDataEntryLevelFieldValueSupplier<boolean>);
|
|
21
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
local ____lualib = require("lualib_bundle")
|
|
2
|
+
local __TS__Class = ____lualib.__TS__Class
|
|
3
|
+
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
4
|
+
local __TS__SetDescriptor = ____lualib.__TS__SetDescriptor
|
|
5
|
+
local ____exports = {}
|
|
6
|
+
local ____ability_2Dtype = require("engine.object-data.entry.ability-type")
|
|
7
|
+
local AbilityType = ____ability_2Dtype.AbilityType
|
|
8
|
+
____exports.StackableHardenedSkinAbilityType = __TS__Class()
|
|
9
|
+
local StackableHardenedSkinAbilityType = ____exports.StackableHardenedSkinAbilityType
|
|
10
|
+
StackableHardenedSkinAbilityType.name = "StackableHardenedSkinAbilityType"
|
|
11
|
+
__TS__ClassExtends(StackableHardenedSkinAbilityType, AbilityType)
|
|
12
|
+
StackableHardenedSkinAbilityType.BASE_ID = fourCC("AHss")
|
|
13
|
+
__TS__SetDescriptor(
|
|
14
|
+
StackableHardenedSkinAbilityType.prototype,
|
|
15
|
+
"damageReductionPercentageProbability",
|
|
16
|
+
{
|
|
17
|
+
get = function(self)
|
|
18
|
+
return self:getNumberLevelField("Ssk1")
|
|
19
|
+
end,
|
|
20
|
+
set = function(self, damageReductionPercentageProbability)
|
|
21
|
+
self:setNumberLevelField("Ssk1", damageReductionPercentageProbability)
|
|
22
|
+
end
|
|
23
|
+
},
|
|
24
|
+
true
|
|
25
|
+
)
|
|
26
|
+
__TS__SetDescriptor(
|
|
27
|
+
StackableHardenedSkinAbilityType.prototype,
|
|
28
|
+
"minimumDamage",
|
|
29
|
+
{
|
|
30
|
+
get = function(self)
|
|
31
|
+
return self:getNumberLevelField("Ssk2")
|
|
32
|
+
end,
|
|
33
|
+
set = function(self, minimumDamage)
|
|
34
|
+
self:setNumberLevelField("Ssk2", minimumDamage)
|
|
35
|
+
end
|
|
36
|
+
},
|
|
37
|
+
true
|
|
38
|
+
)
|
|
39
|
+
__TS__SetDescriptor(
|
|
40
|
+
StackableHardenedSkinAbilityType.prototype,
|
|
41
|
+
"ignoredDamage",
|
|
42
|
+
{
|
|
43
|
+
get = function(self)
|
|
44
|
+
return self:getNumberLevelField("Ssk3")
|
|
45
|
+
end,
|
|
46
|
+
set = function(self, ignoredDamage)
|
|
47
|
+
self:setNumberLevelField("Ssk3", ignoredDamage)
|
|
48
|
+
end
|
|
49
|
+
},
|
|
50
|
+
true
|
|
51
|
+
)
|
|
52
|
+
__TS__SetDescriptor(
|
|
53
|
+
StackableHardenedSkinAbilityType.prototype,
|
|
54
|
+
"includesRangedDamage",
|
|
55
|
+
{
|
|
56
|
+
get = function(self)
|
|
57
|
+
return self:getBooleanLevelField("Ssk4")
|
|
58
|
+
end,
|
|
59
|
+
set = function(self, includesRangedDamage)
|
|
60
|
+
self:setBooleanLevelField("Ssk4", includesRangedDamage)
|
|
61
|
+
end
|
|
62
|
+
},
|
|
63
|
+
true
|
|
64
|
+
)
|
|
65
|
+
__TS__SetDescriptor(
|
|
66
|
+
StackableHardenedSkinAbilityType.prototype,
|
|
67
|
+
"includesMeleeDamage",
|
|
68
|
+
{
|
|
69
|
+
get = function(self)
|
|
70
|
+
return self:getBooleanLevelField("Ssk5")
|
|
71
|
+
end,
|
|
72
|
+
set = function(self, includesMeleeDamage)
|
|
73
|
+
self:setBooleanLevelField("Ssk5", includesMeleeDamage)
|
|
74
|
+
end
|
|
75
|
+
},
|
|
76
|
+
true
|
|
77
|
+
)
|
|
78
|
+
return ____exports
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** @noSelfInFile */
|
|
2
|
+
import { AbilityType, AbilityTypeId } from "../ability-type";
|
|
3
|
+
import { ObjectDataEntryLevelFieldValueSupplier } from "../../entry";
|
|
4
|
+
export declare class StackableLifeStealAbilityType extends AbilityType {
|
|
5
|
+
static readonly BASE_ID: AbilityTypeId;
|
|
6
|
+
/** Life Stolen Per Attack */
|
|
7
|
+
get lifeStolenPerAttack(): number[];
|
|
8
|
+
set lifeStolenPerAttack(lifeStolenPerAttack: ObjectDataEntryLevelFieldValueSupplier<number>);
|
|
9
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
local ____lualib = require("lualib_bundle")
|
|
2
|
+
local __TS__Class = ____lualib.__TS__Class
|
|
3
|
+
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
4
|
+
local __TS__SetDescriptor = ____lualib.__TS__SetDescriptor
|
|
5
|
+
local ____exports = {}
|
|
6
|
+
local ____ability_2Dtype = require("engine.object-data.entry.ability-type")
|
|
7
|
+
local AbilityType = ____ability_2Dtype.AbilityType
|
|
8
|
+
____exports.StackableLifeStealAbilityType = __TS__Class()
|
|
9
|
+
local StackableLifeStealAbilityType = ____exports.StackableLifeStealAbilityType
|
|
10
|
+
StackableLifeStealAbilityType.name = "StackableLifeStealAbilityType"
|
|
11
|
+
__TS__ClassExtends(StackableLifeStealAbilityType, AbilityType)
|
|
12
|
+
StackableLifeStealAbilityType.BASE_ID = fourCC("AIvx")
|
|
13
|
+
__TS__SetDescriptor(
|
|
14
|
+
StackableLifeStealAbilityType.prototype,
|
|
15
|
+
"lifeStolenPerAttack",
|
|
16
|
+
{
|
|
17
|
+
get = function(self)
|
|
18
|
+
return self:getNumberLevelField("Ivam")
|
|
19
|
+
end,
|
|
20
|
+
set = function(self, lifeStolenPerAttack)
|
|
21
|
+
self:setNumberLevelField("Ivam", lifeStolenPerAttack)
|
|
22
|
+
end
|
|
23
|
+
},
|
|
24
|
+
true
|
|
25
|
+
)
|
|
26
|
+
return ____exports
|