warscript 0.0.1-dev.9c98c3a → 0.0.1-dev.9d07b64
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/core/dummy.lua +4 -2
- package/core/types/effect.d.ts +11 -1
- package/core/types/effect.lua +43 -77
- package/core/types/frame.d.ts +16 -2
- package/core/types/frame.lua +128 -67
- 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 +73 -25
- package/core/types/playerColor.lua +4 -3
- package/core/types/sound.d.ts +1 -1
- package/core/types/sound.lua +14 -9
- package/core/types/tileCell.d.ts +9 -3
- package/core/types/tileCell.lua +16 -0
- package/core/types/unit.d.ts +5 -0
- package/core/types/unit.lua +5 -0
- package/core/util.d.ts +3 -1
- package/core/util.lua +109 -3
- package/decl/native.d.ts +705 -7
- package/destroyable.d.ts +1 -0
- package/destroyable.lua +9 -0
- package/engine/ability-type-extended-tooltip.d.ts +8 -0
- package/engine/ability-type-extended-tooltip.lua +44 -0
- package/engine/behavior.d.ts +10 -2
- package/engine/behavior.lua +157 -76
- package/engine/behaviour/ability/apply-buff.lua +4 -4
- package/engine/behaviour/ability/apply-unit-behavior.lua +5 -0
- package/engine/behaviour/ability/damage.d.ts +4 -0
- package/engine/behaviour/ability/damage.lua +19 -15
- package/engine/behaviour/ability/emulate-impact.lua +5 -4
- package/engine/behaviour/ability/on-command-impact.d.ts +1 -0
- package/engine/behaviour/ability/on-command-impact.lua +1 -0
- package/engine/behaviour/ability/remove-buffs.d.ts +9 -0
- package/engine/behaviour/ability/remove-buffs.lua +21 -0
- package/engine/behaviour/ability.d.ts +13 -6
- package/engine/behaviour/ability.lua +102 -9
- package/engine/behaviour/unit/stun-immunity.d.ts +7 -5
- package/engine/behaviour/unit/stun-immunity.lua +6 -5
- package/engine/behaviour/unit.d.ts +8 -3
- package/engine/behaviour/unit.lua +102 -24
- package/engine/buff.d.ts +112 -54
- package/engine/buff.lua +559 -280
- package/engine/index.d.ts +2 -1
- package/engine/internal/ability.d.ts +7 -0
- package/engine/internal/ability.lua +65 -36
- package/engine/internal/item/fields.d.ts +12 -0
- package/engine/internal/item/fields.lua +33 -0
- package/engine/internal/item/owner-cache.d.ts +5 -0
- package/engine/internal/item/owner-cache.lua +4 -0
- package/engine/internal/item+owner.d.ts +2 -0
- package/engine/internal/item+owner.lua +27 -4
- package/engine/internal/item.d.ts +20 -5
- package/engine/internal/item.lua +146 -57
- package/engine/internal/mechanics/cast-ability.lua +6 -3
- package/engine/internal/misc/unit-ability-level-natives.lua +12 -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/health-regeneration-rate-increase.d.ts +2 -0
- package/engine/internal/object-data/health-regeneration-rate-increase.lua +48 -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/object-data/returned-melee-damage-factor.d.ts +2 -0
- package/engine/internal/object-data/returned-melee-damage-factor.lua +21 -0
- package/engine/internal/unit/add-item-to-slot-init.lua +3 -14
- package/engine/internal/unit/add-item-to-slot.lua +53 -12
- 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/bonus.d.ts +17 -0
- package/engine/internal/unit/bonus.lua +113 -8
- package/engine/internal/unit/buff.d.ts +2 -2
- package/engine/internal/unit/buff.lua +34 -19
- package/engine/internal/unit/equipment-inventory.d.ts +44 -0
- package/engine/internal/unit/equipment-inventory.lua +233 -0
- package/engine/internal/unit/expiration-timer.lua +1 -1
- package/engine/internal/unit/extended-inventory.d.ts +25 -0
- package/engine/internal/unit/extended-inventory.lua +99 -0
- package/engine/internal/unit/fly-height.d.ts +7 -0
- package/engine/internal/unit/fly-height.lua +20 -0
- package/engine/internal/unit/ignore-events-items.lua +10 -1
- 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} +7 -3
- package/engine/internal/unit/inventory.lua +87 -0
- package/engine/internal/unit/item-container.d.ts +25 -0
- package/engine/internal/unit/item-container.lua +11 -0
- package/engine/internal/unit/item-order-events.d.ts +17 -0
- package/engine/internal/unit/item-order-events.lua +67 -0
- package/engine/internal/unit/item-slot.d.ts +27 -0
- package/engine/internal/unit/item-slot.lua +92 -0
- package/engine/internal/unit/main-selected.lua +12 -27
- package/engine/internal/unit/order.d.ts +3 -3
- package/engine/internal/unit/order.lua +10 -10
- 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.d.ts +2 -1
- package/engine/internal/unit+ability.lua +63 -2
- package/engine/internal/unit+bonus.lua +3 -3
- package/engine/internal/unit+damage.d.ts +9 -0
- package/engine/internal/unit+damage.lua +33 -0
- package/engine/internal/unit+rally.lua +9 -31
- package/engine/internal/unit-missile-data.lua +58 -32
- package/engine/internal/unit-missile-launch.lua +29 -19
- package/engine/internal/unit.d.ts +15 -29
- package/engine/internal/unit.lua +192 -272
- package/engine/local-client.d.ts +28 -0
- package/engine/local-client.lua +324 -54
- package/engine/object-data/auxiliary/attachment-preset.d.ts +7 -0
- package/engine/object-data/auxiliary/attachment-preset.lua +7 -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 +12 -0
- package/engine/object-data/auxiliary/equipment-type.lua +26 -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-class.d.ts +11 -0
- package/engine/object-data/auxiliary/item-class.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/order-type.d.ts +939 -0
- package/engine/object-data/auxiliary/order-type.lua +2 -0
- package/engine/object-data/auxiliary/sound-set-name.d.ts +14 -3
- package/engine/object-data/auxiliary/unit-attribute.lua +1 -1
- 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/aura-of-blight.d.ts +13 -0
- package/engine/object-data/entry/ability-type/aura-of-blight.lua +39 -0
- 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/blank-configurable.lua +2 -2
- package/engine/object-data/entry/ability-type/blank-passive-with-cooldown.d.ts +23 -0
- package/engine/object-data/entry/ability-type/blank-passive-with-cooldown.lua +112 -0
- package/engine/object-data/entry/ability-type/blank-passive.d.ts +4 -0
- package/engine/object-data/entry/ability-type/blank-passive.lua +27 -7
- package/engine/object-data/entry/ability-type/breath-of-fire.d.ts +11 -0
- package/engine/object-data/entry/ability-type/breath-of-fire.lua +27 -0
- package/engine/object-data/entry/ability-type/channel.d.ts +2 -2
- package/engine/object-data/entry/ability-type/channel.lua +3 -3
- 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/exhume-corpses.d.ts +14 -0
- package/engine/object-data/entry/ability-type/exhume-corpses.lua +40 -0
- package/engine/object-data/entry/ability-type/firebolt.d.ts +7 -0
- package/engine/object-data/entry/ability-type/firebolt.lua +13 -0
- package/engine/object-data/entry/ability-type/flame-strike.d.ts +25 -0
- package/engine/object-data/entry/ability-type/flame-strike.lua +92 -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/healing-ward-aura.d.ts +13 -0
- package/engine/object-data/entry/ability-type/healing-ward-aura.lua +39 -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/item-life-regeneration.d.ts +10 -0
- package/engine/object-data/entry/ability-type/item-life-regeneration.lua +26 -0
- package/engine/object-data/entry/ability-type/life-drain.d.ts +37 -0
- package/engine/object-data/entry/ability-type/life-drain.lua +144 -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/provoke.d.ts +21 -0
- package/engine/object-data/entry/ability-type/provoke.lua +66 -0
- package/engine/object-data/entry/ability-type/rain-of-fire.d.ts +7 -0
- package/engine/object-data/entry/ability-type/rain-of-fire.lua +13 -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/soul-burn.d.ts +22 -0
- package/engine/object-data/entry/ability-type/soul-burn.lua +79 -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 +33 -8
- package/engine/object-data/entry/ability-type.lua +286 -11
- package/engine/object-data/entry/buff-type/applicable.lua +122 -111
- package/engine/object-data/entry/buff-type.d.ts +6 -2
- package/engine/object-data/entry/buff-type.lua +26 -0
- 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 +18 -3
- package/engine/object-data/entry/item-type.lua +84 -0
- package/engine/object-data/entry/lightning-type.d.ts +6 -8
- package/engine/object-data/entry/lightning-type.lua +1 -1
- package/engine/object-data/entry/sound-preset.d.ts +2 -2
- package/engine/object-data/entry/unit-type.d.ts +61 -2
- package/engine/object-data/entry/unit-type.lua +444 -52
- package/engine/object-data/entry/upgrade.d.ts +2 -2
- package/engine/object-data/entry.d.ts +6 -1
- package/engine/object-data/entry.lua +8 -0
- package/engine/object-field/ability.lua +2 -2
- package/engine/object-field/item.d.ts +22 -0
- package/engine/object-field/item.lua +118 -0
- package/engine/object-field/unit.d.ts +20 -5
- package/engine/object-field/unit.lua +61 -0
- package/engine/object-field.d.ts +10 -2
- package/engine/object-field.lua +268 -123
- package/engine/random.d.ts +1 -0
- package/engine/random.lua +8 -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 +45 -0
- package/engine/standard/entries/buff-type.lua +43 -0
- package/engine/standard/entries/item-type.d.ts +1299 -0
- package/engine/standard/entries/item-type.lua +2 -0
- package/engine/standard/entries/lightning-type.d.ts +42 -15
- package/engine/standard/entries/lightning-type.lua +0 -14
- 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 +4 -4
- package/engine/standard/fields/ability.lua +4 -4
- package/engine/standard/fields/item.d.ts +4 -0
- package/engine/standard/fields/item.lua +6 -0
- package/engine/standard/fields/unit.d.ts +11 -3
- package/engine/standard/fields/unit.lua +15 -2
- package/engine/synchronization.d.ts +11 -0
- package/engine/synchronization.lua +77 -0
- package/engine/text-tag.lua +2 -1
- 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 +10 -8
- 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/utility/arrays.d.ts +7 -1
- package/utility/arrays.lua +17 -0
- package/utility/linked-map.d.ts +35 -0
- package/utility/linked-map.lua +107 -0
- package/utility/linked-set.d.ts +3 -1
- package/utility/linked-set.lua +27 -0
- package/utility/random.d.ts +102 -0
- package/utility/random.lua +273 -0
- package/utility/records.lua +20 -1
- package/utility/unordered-map.d.ts +27 -0
- package/utility/unordered-map.lua +99 -0
- package/engine/internal/unit/item.lua +0 -78
- /package/engine/internal/{object-data/armor-increase.d.ts → misc/unit-ability-level-natives.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
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/** @noSelfInFile */
|
|
2
|
+
import { AbilityType, AbilityTypeId } from "../ability-type";
|
|
3
|
+
import { ObjectDataEntryLevelFieldValueSupplier } from "../../entry";
|
|
4
|
+
/** Firelord's Soul Burn (`ANso`). */
|
|
5
|
+
export declare class SoulBurnAbilityType extends AbilityType {
|
|
6
|
+
static readonly BASE_ID: AbilityTypeId;
|
|
7
|
+
/** Damage Amount */
|
|
8
|
+
get damageAmount(): number[];
|
|
9
|
+
set damageAmount(damageAmount: ObjectDataEntryLevelFieldValueSupplier<number>);
|
|
10
|
+
/** Damage Period */
|
|
11
|
+
get damagePeriod(): number[];
|
|
12
|
+
set damagePeriod(damagePeriod: ObjectDataEntryLevelFieldValueSupplier<number>);
|
|
13
|
+
/** Damage Penalty */
|
|
14
|
+
get damagePenalty(): number[];
|
|
15
|
+
set damagePenalty(damagePenalty: ObjectDataEntryLevelFieldValueSupplier<number>);
|
|
16
|
+
/** Movement Speed Reduction (%) */
|
|
17
|
+
get movementSpeedReductionFactor(): number[];
|
|
18
|
+
set movementSpeedReductionFactor(movementSpeedReductionFactor: ObjectDataEntryLevelFieldValueSupplier<number>);
|
|
19
|
+
/** Attack Speed Reduction (%) */
|
|
20
|
+
get attackSpeedReductionFactor(): number[];
|
|
21
|
+
set attackSpeedReductionFactor(attackSpeedReductionFactor: ObjectDataEntryLevelFieldValueSupplier<number>);
|
|
22
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
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
|
+
--- Firelord's Soul Burn (`ANso`).
|
|
9
|
+
____exports.SoulBurnAbilityType = __TS__Class()
|
|
10
|
+
local SoulBurnAbilityType = ____exports.SoulBurnAbilityType
|
|
11
|
+
SoulBurnAbilityType.name = "SoulBurnAbilityType"
|
|
12
|
+
__TS__ClassExtends(SoulBurnAbilityType, AbilityType)
|
|
13
|
+
SoulBurnAbilityType.BASE_ID = fourCC("ANso")
|
|
14
|
+
__TS__SetDescriptor(
|
|
15
|
+
SoulBurnAbilityType.prototype,
|
|
16
|
+
"damageAmount",
|
|
17
|
+
{
|
|
18
|
+
get = function(self)
|
|
19
|
+
return self:getNumberLevelField("Nso1")
|
|
20
|
+
end,
|
|
21
|
+
set = function(self, damageAmount)
|
|
22
|
+
self:setNumberLevelField("Nso1", damageAmount)
|
|
23
|
+
end
|
|
24
|
+
},
|
|
25
|
+
true
|
|
26
|
+
)
|
|
27
|
+
__TS__SetDescriptor(
|
|
28
|
+
SoulBurnAbilityType.prototype,
|
|
29
|
+
"damagePeriod",
|
|
30
|
+
{
|
|
31
|
+
get = function(self)
|
|
32
|
+
return self:getNumberLevelField("Nso2")
|
|
33
|
+
end,
|
|
34
|
+
set = function(self, damagePeriod)
|
|
35
|
+
self:setNumberLevelField("Nso2", damagePeriod)
|
|
36
|
+
end
|
|
37
|
+
},
|
|
38
|
+
true
|
|
39
|
+
)
|
|
40
|
+
__TS__SetDescriptor(
|
|
41
|
+
SoulBurnAbilityType.prototype,
|
|
42
|
+
"damagePenalty",
|
|
43
|
+
{
|
|
44
|
+
get = function(self)
|
|
45
|
+
return self:getNumberLevelField("Nso3")
|
|
46
|
+
end,
|
|
47
|
+
set = function(self, damagePenalty)
|
|
48
|
+
self:setNumberLevelField("Nso3", damagePenalty)
|
|
49
|
+
end
|
|
50
|
+
},
|
|
51
|
+
true
|
|
52
|
+
)
|
|
53
|
+
__TS__SetDescriptor(
|
|
54
|
+
SoulBurnAbilityType.prototype,
|
|
55
|
+
"movementSpeedReductionFactor",
|
|
56
|
+
{
|
|
57
|
+
get = function(self)
|
|
58
|
+
return self:getNumberLevelField("Nso4")
|
|
59
|
+
end,
|
|
60
|
+
set = function(self, movementSpeedReductionFactor)
|
|
61
|
+
self:setNumberLevelField("Nso4", movementSpeedReductionFactor)
|
|
62
|
+
end
|
|
63
|
+
},
|
|
64
|
+
true
|
|
65
|
+
)
|
|
66
|
+
__TS__SetDescriptor(
|
|
67
|
+
SoulBurnAbilityType.prototype,
|
|
68
|
+
"attackSpeedReductionFactor",
|
|
69
|
+
{
|
|
70
|
+
get = function(self)
|
|
71
|
+
return self:getNumberLevelField("Nso5")
|
|
72
|
+
end,
|
|
73
|
+
set = function(self, attackSpeedReductionFactor)
|
|
74
|
+
self:setNumberLevelField("Nso5", attackSpeedReductionFactor)
|
|
75
|
+
end
|
|
76
|
+
},
|
|
77
|
+
true
|
|
78
|
+
)
|
|
79
|
+
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
|
+
}
|