warscript 0.0.1-dev.bb34489 → 0.0.1-dev.bc4cd10
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/binaryreader.d.ts +1 -0
- package/binaryreader.lua +3 -0
- package/config.d.ts +5 -0
- package/config.lua +10 -0
- package/core/dummy.lua +4 -2
- package/core/types/effect.d.ts +24 -6
- package/core/types/effect.lua +169 -107
- package/core/types/frame.d.ts +9 -0
- package/core/types/frame.lua +193 -23
- package/core/types/handle.lua +11 -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 +18 -25
- package/core/types/sound.lua +113 -33
- package/core/types/tileCell.d.ts +11 -1
- package/core/types/tileCell.lua +97 -0
- package/core/types/timer.d.ts +9 -8
- package/core/types/timer.lua +45 -23
- 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 +127 -4
- package/decl/native.d.ts +1718 -964
- package/destroyable.d.ts +1 -0
- package/destroyable.lua +9 -0
- package/engine/behavior.d.ts +16 -3
- package/engine/behavior.lua +233 -73
- package/engine/behaviour/ability/always-enabled.d.ts +7 -0
- package/engine/behaviour/ability/always-enabled.lua +31 -0
- package/engine/behaviour/ability/apply-buff.d.ts +8 -5
- package/engine/behaviour/ability/apply-buff.lua +36 -4
- package/engine/behaviour/ability/apply-unit-behavior.lua +6 -0
- package/engine/behaviour/ability/damage.d.ts +43 -11
- package/engine/behaviour/ability/damage.lua +89 -39
- package/engine/behaviour/ability/emulate-impact.d.ts +6 -0
- package/engine/behaviour/ability/emulate-impact.lua +44 -0
- package/engine/behaviour/ability/heal.d.ts +33 -6
- package/engine/behaviour/ability/heal.lua +89 -10
- package/engine/behaviour/ability/instant-impact.d.ts +2 -2
- package/engine/behaviour/ability/instant-impact.lua +4 -19
- package/engine/behaviour/ability/on-command-impact.d.ts +9 -0
- package/engine/behaviour/ability/on-command-impact.lua +26 -0
- package/engine/behaviour/ability/remove-buffs.d.ts +25 -0
- package/engine/behaviour/ability/remove-buffs.lua +49 -0
- package/engine/behaviour/ability/restore-mana.d.ts +15 -0
- package/engine/behaviour/ability/restore-mana.lua +29 -0
- package/engine/behaviour/ability.d.ts +30 -7
- package/engine/behaviour/ability.lua +162 -43
- 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 +46 -2
- package/engine/behaviour/unit.lua +290 -6
- package/engine/buff.d.ts +166 -57
- package/engine/buff.lua +766 -274
- package/engine/game-map.d.ts +7 -0
- package/engine/game-map.lua +32 -0
- package/engine/index.d.ts +2 -1
- package/engine/internal/ability.d.ts +27 -14
- package/engine/internal/ability.lua +168 -104
- package/engine/internal/item/ability.lua +162 -4
- 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 +37 -8
- package/engine/internal/item.d.ts +34 -18
- package/engine/internal/item.lua +308 -102
- package/engine/internal/mechanics/ability-duration.lua +1 -1
- package/engine/internal/mechanics/cast-ability.lua +6 -3
- package/engine/internal/misc/ability-disable-counter.lua +13 -0
- package/engine/internal/misc/damage-metadata-by-target.d.ts +2 -0
- 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/misc/unit-ability-level-natives.d.ts +2 -0
- 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/auto-attack-speed-increase.d.ts +1 -1
- package/engine/internal/object-data/auto-attack-speed-increase.lua +2 -0
- package/engine/internal/object-data/evasion-probability.d.ts +2 -0
- package/engine/internal/object-data/evasion-probability.lua +16 -0
- 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/unit/ability.d.ts +45 -1
- package/engine/internal/unit/ability.lua +142 -19
- package/engine/internal/unit/add-item-to-slot-init.d.ts +2 -0
- package/engine/internal/unit/add-item-to-slot-init.lua +12 -0
- package/engine/internal/unit/add-item-to-slot.d.ts +2 -0
- package/engine/internal/unit/add-item-to-slot.lua +93 -0
- 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/bonus.d.ts +20 -2
- package/engine/internal/unit/bonus.lua +125 -9
- 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.d.ts +2 -0
- package/engine/internal/unit/ignore-events-items.lua +14 -0
- package/engine/internal/unit/interrupts.d.ts +12 -0
- package/engine/internal/unit/interrupts.lua +28 -0
- package/engine/internal/unit/inventory.d.ts +28 -0
- 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.d.ts +13 -0
- package/engine/internal/unit/main-selected.lua +36 -0
- 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.d.ts +2 -1
- package/engine/internal/unit+ability.lua +75 -5
- 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+rally.lua +9 -31
- package/engine/internal/unit+spellSteal.lua +1 -2
- package/engine/internal/unit+transport.lua +4 -10
- package/engine/internal/unit-missile-data.lua +58 -32
- package/engine/internal/unit-missile-launch.lua +70 -13
- package/engine/internal/unit.d.ts +57 -31
- package/engine/internal/unit.lua +466 -308
- package/engine/internal/utility.lua +12 -0
- package/engine/lightning.d.ts +12 -5
- package/engine/lightning.lua +48 -14
- package/engine/local-client.d.ts +35 -2
- package/engine/local-client.lua +367 -15
- package/engine/object-data/auxiliary/animation-name.d.ts +1 -0
- package/engine/object-data/auxiliary/animation-name.lua +16 -0
- 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/attachment-preset.d.ts +14 -2
- package/engine/object-data/auxiliary/attachment-preset.lua +11 -3
- 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 +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/movement-type.d.ts +7 -7
- package/engine/object-data/auxiliary/movement-type.lua +22 -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-eax.d.ts +10 -0
- package/engine/object-data/auxiliary/sound-eax.lua +2 -0
- package/engine/object-data/auxiliary/sound-preset-name.d.ts +5 -1
- package/engine/object-data/auxiliary/sound-set-name.d.ts +14 -3
- package/engine/object-data/auxiliary/tech-tree-dependency.d.ts +1 -1
- 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/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/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 +42 -1
- 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/carrion-swarm.d.ts +14 -0
- package/engine/object-data/entry/ability-type/carrion-swarm.lua +65 -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/disease-cloud.lua +2 -2
- package/engine/object-data/entry/ability-type/engineering-upgrade.lua +2 -2
- package/engine/object-data/entry/ability-type/ensnare.d.ts +12 -0
- package/engine/object-data/entry/ability-type/ensnare.lua +52 -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/feral-spirit.lua +2 -2
- 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/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/phase-shift.d.ts +10 -0
- package/engine/object-data/entry/ability-type/phase-shift.lua +39 -0
- package/engine/object-data/entry/ability-type/phoenix-morph.lua +4 -4
- 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-dead.d.ts +17 -0
- package/engine/object-data/entry/ability-type/raise-dead.lua +78 -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/shock-wave.d.ts +4 -0
- package/engine/object-data/entry/ability-type/shock-wave.lua +26 -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-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/summon-quilbeast.lua +2 -2
- package/engine/object-data/entry/ability-type/summon-water-elemental.lua +2 -2
- 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/web.d.ts +12 -0
- package/engine/object-data/entry/ability-type/web.lua +52 -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 +41 -20
- package/engine/object-data/entry/ability-type.lua +337 -44
- package/engine/object-data/entry/buff-type/applicable.lua +122 -137
- package/engine/object-data/entry/buff-type.d.ts +10 -12
- package/engine/object-data/entry/buff-type.lua +39 -29
- 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 +32 -3
- package/engine/object-data/entry/item-type.lua +177 -2
- 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 +33 -0
- package/engine/object-data/entry/sound-preset.lua +140 -0
- package/engine/object-data/entry/unit-type.d.ts +71 -6
- package/engine/object-data/entry/unit-type.lua +592 -93
- package/engine/object-data/entry/upgrade.d.ts +2 -2
- package/engine/object-data/entry/upgrade.lua +4 -4
- package/engine/object-data/entry.d.ts +21 -14
- package/engine/object-data/entry.lua +68 -32
- package/engine/object-data/utility/object-data-entry-id-generator.lua +7 -0
- package/engine/object-field/ability.d.ts +28 -5
- package/engine/object-field/ability.lua +61 -7
- 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 +362 -117
- 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 +48 -0
- package/engine/standard/entries/buff-type.lua +46 -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/sound-preset.d.ts +10 -0
- package/engine/standard/entries/sound-preset.lua +10 -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 +4 -2
- package/engine/standard/fields/ability.lua +4 -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 +13 -0
- package/engine/unit.lua +13 -0
- package/event.d.ts +1 -1
- package/index.d.ts +1 -0
- package/index.lua +1 -0
- package/lualib_bundle.lua +8 -3
- package/math.d.ts +2 -0
- package/math.lua +14 -0
- package/net/socket.d.ts +7 -1
- package/net/socket.lua +45 -4
- package/network.d.ts +1 -0
- package/network.lua +28 -3
- package/objutil/buff.lua +13 -12
- package/objutil/object.lua +1 -1
- package/objutil/unit.lua +8 -0
- package/operation.d.ts +8 -1
- package/operation.lua +38 -18
- package/package.json +3 -23
- package/patch-lua.d.ts +0 -0
- package/patch-lua.lua +25 -0
- package/patch-lualib.lua +1 -1
- package/property.d.ts +55 -0
- package/property.lua +374 -0
- package/utility/arrays.d.ts +11 -1
- package/utility/arrays.lua +57 -3
- 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/lazy.d.ts +2 -0
- package/utility/lazy.lua +14 -0
- package/utility/linked-map.d.ts +35 -0
- package/utility/linked-map.lua +107 -0
- package/utility/linked-set.d.ts +16 -3
- package/utility/linked-set.lua +54 -3
- 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/reflection.lua +11 -7
- package/utility/types.d.ts +4 -0
- package/utility/unordered-map.d.ts +27 -0
- package/utility/unordered-map.lua +99 -0
- package/core/mapbounds.d.ts +0 -8
- package/core/mapbounds.lua +0 -12
- 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/ability-disable-counter.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,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
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** @noSelfInFile */
|
|
2
|
+
import { SpellDamageReductionAbilityType } from "./spell-damage-reduction";
|
|
3
|
+
import { AbilityTypeId } from "../ability-type";
|
|
4
|
+
/**
|
|
5
|
+
* Stacking variant of spell damage reduction (AIss); same fields as AIsr.
|
|
6
|
+
*/
|
|
7
|
+
export declare class StackableSpellDamageReductionAbilityType extends SpellDamageReductionAbilityType {
|
|
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 ____spell_2Ddamage_2Dreduction = require("engine.object-data.entry.ability-type.spell-damage-reduction")
|
|
6
|
+
local SpellDamageReductionAbilityType = ____spell_2Ddamage_2Dreduction.SpellDamageReductionAbilityType
|
|
7
|
+
--- Stacking variant of spell damage reduction (AIss); same fields as AIsr.
|
|
8
|
+
____exports.StackableSpellDamageReductionAbilityType = __TS__Class()
|
|
9
|
+
local StackableSpellDamageReductionAbilityType = ____exports.StackableSpellDamageReductionAbilityType
|
|
10
|
+
StackableSpellDamageReductionAbilityType.name = "StackableSpellDamageReductionAbilityType"
|
|
11
|
+
__TS__ClassExtends(StackableSpellDamageReductionAbilityType, SpellDamageReductionAbilityType)
|
|
12
|
+
StackableSpellDamageReductionAbilityType.BASE_ID = fourCC("AIss")
|
|
13
|
+
return ____exports
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** @noSelfInFile */
|
|
2
|
+
import { SpikedCarapaceAbilityType } from "./spiked-carapace";
|
|
3
|
+
import { AbilityTypeId } from "../ability-type";
|
|
4
|
+
/**
|
|
5
|
+
* Stacking thorn shield (AUss); same fields as spiked carapace (AUts).
|
|
6
|
+
*/
|
|
7
|
+
export declare class StackableThornShieldAbilityType extends SpikedCarapaceAbilityType {
|
|
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 ____spiked_2Dcarapace = require("engine.object-data.entry.ability-type.spiked-carapace")
|
|
6
|
+
local SpikedCarapaceAbilityType = ____spiked_2Dcarapace.SpikedCarapaceAbilityType
|
|
7
|
+
--- Stacking thorn shield (AUss); same fields as spiked carapace (AUts).
|
|
8
|
+
____exports.StackableThornShieldAbilityType = __TS__Class()
|
|
9
|
+
local StackableThornShieldAbilityType = ____exports.StackableThornShieldAbilityType
|
|
10
|
+
StackableThornShieldAbilityType.name = "StackableThornShieldAbilityType"
|
|
11
|
+
__TS__ClassExtends(StackableThornShieldAbilityType, SpikedCarapaceAbilityType)
|
|
12
|
+
StackableThornShieldAbilityType.BASE_ID = fourCC("AUss")
|
|
13
|
+
return ____exports
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** @noSelfInFile */
|
|
2
|
+
import { AbilityType, AbilityTypeId } from "../ability-type";
|
|
3
|
+
import { ObjectDataEntryLevelFieldValueSupplier } from "../../entry";
|
|
4
|
+
/**
|
|
5
|
+
* Stat details (ASde). Values are stat modifier ids from `abilitystatmodifiers.txt` (e.g. "AS01").
|
|
6
|
+
*/
|
|
7
|
+
export declare class StatDetailsAbilityType extends AbilityType {
|
|
8
|
+
static readonly BASE_ID: AbilityTypeId;
|
|
9
|
+
/** Supported stat modifiers */
|
|
10
|
+
get supportedStatModifierIds(): string[][];
|
|
11
|
+
set supportedStatModifierIds(supportedStatModifierIds: ObjectDataEntryLevelFieldValueSupplier<string[]>);
|
|
12
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
--- Stat details (ASde). Values are stat modifier ids from `abilitystatmodifiers.txt` (e.g. "AS01").
|
|
9
|
+
____exports.StatDetailsAbilityType = __TS__Class()
|
|
10
|
+
local StatDetailsAbilityType = ____exports.StatDetailsAbilityType
|
|
11
|
+
StatDetailsAbilityType.name = "StatDetailsAbilityType"
|
|
12
|
+
__TS__ClassExtends(StatDetailsAbilityType, AbilityType)
|
|
13
|
+
StatDetailsAbilityType.BASE_ID = fourCC("ASde")
|
|
14
|
+
__TS__SetDescriptor(
|
|
15
|
+
StatDetailsAbilityType.prototype,
|
|
16
|
+
"supportedStatModifierIds",
|
|
17
|
+
{
|
|
18
|
+
get = function(self)
|
|
19
|
+
return self:getStringsLevelField("Asdf")
|
|
20
|
+
end,
|
|
21
|
+
set = function(self, supportedStatModifierIds)
|
|
22
|
+
self:setStringsLevelField("Asdf", supportedStatModifierIds)
|
|
23
|
+
end
|
|
24
|
+
},
|
|
25
|
+
true
|
|
26
|
+
)
|
|
27
|
+
return ____exports
|
|
@@ -15,10 +15,10 @@ __TS__SetDescriptor(
|
|
|
15
15
|
"summonedUnitTypeId",
|
|
16
16
|
{
|
|
17
17
|
get = function(self)
|
|
18
|
-
return self:
|
|
18
|
+
return self:getObjectDataEntryNumericIdLevelField("Hwe1")
|
|
19
19
|
end,
|
|
20
20
|
set = function(self, summonedUnitTypeId)
|
|
21
|
-
self:
|
|
21
|
+
self:setObjectDataEntryNumericIdLevelField("Hwe1", summonedUnitTypeId)
|
|
22
22
|
end
|
|
23
23
|
},
|
|
24
24
|
true
|
|
@@ -15,10 +15,10 @@ __TS__SetDescriptor(
|
|
|
15
15
|
"summonedUnitTypeId",
|
|
16
16
|
{
|
|
17
17
|
get = function(self)
|
|
18
|
-
return self:
|
|
18
|
+
return self:getObjectDataEntryNumericIdLevelField("Hwe1")
|
|
19
19
|
end,
|
|
20
20
|
set = function(self, summonedUnitTypeId)
|
|
21
|
-
self:
|
|
21
|
+
self:setObjectDataEntryNumericIdLevelField("Hwe1", summonedUnitTypeId)
|
|
22
22
|
end
|
|
23
23
|
},
|
|
24
24
|
true
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/** @noSelfInFile */
|
|
2
|
+
import { AbilityType, AbilityTypeId } from "../ability-type";
|
|
3
|
+
import { ObjectDataEntryLevelFieldValueSupplier } from "../../entry";
|
|
4
|
+
export declare class SurgeOfLightAbilityType extends AbilityType {
|
|
5
|
+
static readonly BASE_ID: AbilityTypeId;
|
|
6
|
+
/** Ability Passive Radius */
|
|
7
|
+
get passiveRadius(): number[];
|
|
8
|
+
set passiveRadius(passiveRadius: ObjectDataEntryLevelFieldValueSupplier<number>);
|
|
9
|
+
/** Instant Heal to Ally */
|
|
10
|
+
get allyInstantHeal(): number[];
|
|
11
|
+
set allyInstantHeal(allyInstantHeal: ObjectDataEntryLevelFieldValueSupplier<number>);
|
|
12
|
+
/** Heal Per Second to Ally */
|
|
13
|
+
get allyHealPerSecond(): number[];
|
|
14
|
+
set allyHealPerSecond(allyHealPerSecond: ObjectDataEntryLevelFieldValueSupplier<number>);
|
|
15
|
+
/** Mana Restore to Ally */
|
|
16
|
+
get allyManaRestore(): number[];
|
|
17
|
+
set allyManaRestore(allyManaRestore: ObjectDataEntryLevelFieldValueSupplier<number>);
|
|
18
|
+
/** Ally Passive Cooldown */
|
|
19
|
+
get allyPassiveCooldown(): number[];
|
|
20
|
+
set allyPassiveCooldown(allyPassiveCooldown: ObjectDataEntryLevelFieldValueSupplier<number>);
|
|
21
|
+
/** Ally Passive Duration */
|
|
22
|
+
get allyPassiveDuration(): number[];
|
|
23
|
+
set allyPassiveDuration(allyPassiveDuration: ObjectDataEntryLevelFieldValueSupplier<number>);
|
|
24
|
+
/** % Ally Passive Stat Amplify */
|
|
25
|
+
get allyPassiveStatAmplifyPercentage(): number[];
|
|
26
|
+
set allyPassiveStatAmplifyPercentage(allyPassiveStatAmplifyPercentage: ObjectDataEntryLevelFieldValueSupplier<number>);
|
|
27
|
+
/** % Attack Speed Gain */
|
|
28
|
+
get attackSpeedGainPercentage(): number[];
|
|
29
|
+
set attackSpeedGainPercentage(attackSpeedGainPercentage: ObjectDataEntryLevelFieldValueSupplier<number>);
|
|
30
|
+
/** % Movement Speed Gain */
|
|
31
|
+
get movementSpeedGainPercentage(): number[];
|
|
32
|
+
set movementSpeedGainPercentage(movementSpeedGainPercentage: ObjectDataEntryLevelFieldValueSupplier<number>);
|
|
33
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
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.SurgeOfLightAbilityType = __TS__Class()
|
|
9
|
+
local SurgeOfLightAbilityType = ____exports.SurgeOfLightAbilityType
|
|
10
|
+
SurgeOfLightAbilityType.name = "SurgeOfLightAbilityType"
|
|
11
|
+
__TS__ClassExtends(SurgeOfLightAbilityType, AbilityType)
|
|
12
|
+
SurgeOfLightAbilityType.BASE_ID = fourCC("AHsl")
|
|
13
|
+
__TS__SetDescriptor(
|
|
14
|
+
SurgeOfLightAbilityType.prototype,
|
|
15
|
+
"passiveRadius",
|
|
16
|
+
{
|
|
17
|
+
get = function(self)
|
|
18
|
+
return self:getNumberLevelField("slrd")
|
|
19
|
+
end,
|
|
20
|
+
set = function(self, passiveRadius)
|
|
21
|
+
self:setNumberLevelField("slrd", passiveRadius)
|
|
22
|
+
end
|
|
23
|
+
},
|
|
24
|
+
true
|
|
25
|
+
)
|
|
26
|
+
__TS__SetDescriptor(
|
|
27
|
+
SurgeOfLightAbilityType.prototype,
|
|
28
|
+
"allyInstantHeal",
|
|
29
|
+
{
|
|
30
|
+
get = function(self)
|
|
31
|
+
return self:getNumberLevelField("sol1")
|
|
32
|
+
end,
|
|
33
|
+
set = function(self, allyInstantHeal)
|
|
34
|
+
self:setNumberLevelField("sol1", allyInstantHeal)
|
|
35
|
+
end
|
|
36
|
+
},
|
|
37
|
+
true
|
|
38
|
+
)
|
|
39
|
+
__TS__SetDescriptor(
|
|
40
|
+
SurgeOfLightAbilityType.prototype,
|
|
41
|
+
"allyHealPerSecond",
|
|
42
|
+
{
|
|
43
|
+
get = function(self)
|
|
44
|
+
return self:getNumberLevelField("sol2")
|
|
45
|
+
end,
|
|
46
|
+
set = function(self, allyHealPerSecond)
|
|
47
|
+
self:setNumberLevelField("sol2", allyHealPerSecond)
|
|
48
|
+
end
|
|
49
|
+
},
|
|
50
|
+
true
|
|
51
|
+
)
|
|
52
|
+
__TS__SetDescriptor(
|
|
53
|
+
SurgeOfLightAbilityType.prototype,
|
|
54
|
+
"allyManaRestore",
|
|
55
|
+
{
|
|
56
|
+
get = function(self)
|
|
57
|
+
return self:getNumberLevelField("sol3")
|
|
58
|
+
end,
|
|
59
|
+
set = function(self, allyManaRestore)
|
|
60
|
+
self:setNumberLevelField("sol3", allyManaRestore)
|
|
61
|
+
end
|
|
62
|
+
},
|
|
63
|
+
true
|
|
64
|
+
)
|
|
65
|
+
__TS__SetDescriptor(
|
|
66
|
+
SurgeOfLightAbilityType.prototype,
|
|
67
|
+
"allyPassiveCooldown",
|
|
68
|
+
{
|
|
69
|
+
get = function(self)
|
|
70
|
+
return self:getNumberLevelField("sol4")
|
|
71
|
+
end,
|
|
72
|
+
set = function(self, allyPassiveCooldown)
|
|
73
|
+
self:setNumberLevelField("sol4", allyPassiveCooldown)
|
|
74
|
+
end
|
|
75
|
+
},
|
|
76
|
+
true
|
|
77
|
+
)
|
|
78
|
+
__TS__SetDescriptor(
|
|
79
|
+
SurgeOfLightAbilityType.prototype,
|
|
80
|
+
"allyPassiveDuration",
|
|
81
|
+
{
|
|
82
|
+
get = function(self)
|
|
83
|
+
return self:getNumberLevelField("sol5")
|
|
84
|
+
end,
|
|
85
|
+
set = function(self, allyPassiveDuration)
|
|
86
|
+
self:setNumberLevelField("sol5", allyPassiveDuration)
|
|
87
|
+
end
|
|
88
|
+
},
|
|
89
|
+
true
|
|
90
|
+
)
|
|
91
|
+
__TS__SetDescriptor(
|
|
92
|
+
SurgeOfLightAbilityType.prototype,
|
|
93
|
+
"allyPassiveStatAmplifyPercentage",
|
|
94
|
+
{
|
|
95
|
+
get = function(self)
|
|
96
|
+
return self:getNumberLevelField("sol6")
|
|
97
|
+
end,
|
|
98
|
+
set = function(self, allyPassiveStatAmplifyPercentage)
|
|
99
|
+
self:setNumberLevelField("sol6", allyPassiveStatAmplifyPercentage)
|
|
100
|
+
end
|
|
101
|
+
},
|
|
102
|
+
true
|
|
103
|
+
)
|
|
104
|
+
__TS__SetDescriptor(
|
|
105
|
+
SurgeOfLightAbilityType.prototype,
|
|
106
|
+
"attackSpeedGainPercentage",
|
|
107
|
+
{
|
|
108
|
+
get = function(self)
|
|
109
|
+
return self:getNumberLevelField("sol7")
|
|
110
|
+
end,
|
|
111
|
+
set = function(self, attackSpeedGainPercentage)
|
|
112
|
+
self:setNumberLevelField("sol7", attackSpeedGainPercentage)
|
|
113
|
+
end
|
|
114
|
+
},
|
|
115
|
+
true
|
|
116
|
+
)
|
|
117
|
+
__TS__SetDescriptor(
|
|
118
|
+
SurgeOfLightAbilityType.prototype,
|
|
119
|
+
"movementSpeedGainPercentage",
|
|
120
|
+
{
|
|
121
|
+
get = function(self)
|
|
122
|
+
return self:getNumberLevelField("sol8")
|
|
123
|
+
end,
|
|
124
|
+
set = function(self, movementSpeedGainPercentage)
|
|
125
|
+
self:setNumberLevelField("sol8", movementSpeedGainPercentage)
|
|
126
|
+
end
|
|
127
|
+
},
|
|
128
|
+
true
|
|
129
|
+
)
|
|
130
|
+
return ____exports
|