Skip to content

Releases: TheHorscht/EZWand

EZWand v2.2.1

15 Jul 23:01
Compare
Choose a tag to compare

v2.2.1:

  • FIX deployed wands not getting saved when quitting
  • Make it possible to reacquire a lost reference to a deployed wand by getting the wand and calling Deploy() again
  • Add deployed_wand.exists

EZWand v2.2.0

14 Jul 00:52
Compare
Choose a tag to compare

v2.2.0:

  • Add wand:Deploy(x, y)
  • Add wand:GiveTo(entity_id)
  • Add a herd argument to EZWand.ShootSpellSequence(sequence, source_x, source_y, target_x, target_y, herd)

EZWand v2.1.0

12 Jul 21:40
Compare
Choose a tag to compare
  • Add EZWand.ShootSpellSequence(sequence, source_x, source_y, target_x, target_y)

EZWand v1.7.2

11 May 19:30
Compare
Choose a tag to compare

v1.7.2:

  • inventory_x of spells only gets set once the inventory is opened after the wand has been
    added to the players inventory, to work around that, spells returned from GetSpells() will
    now auto-calculate the inventory_x slots.
  • FIX some bug that I don't even know what kinda issues it would cause

EZWand v1.7.1

30 Apr 14:11
Compare
Choose a tag to compare

v1.7.1:

  • FIX wand tooltip spell rendering again after borking it in the last update

v1.7.0:

  • Add wand:RenderTooltip(x, y, gui) as a shortcut for rendering an existing wand
  • Wand tooltip will now correctly show empty slots and spells in the correct slots
  • Microchanges to wand tooltip spell slot positioning and sizing to better match the original
  • Forgot to mention that since 1.6.0 the output of EZWand.Deserialize() was changed slightly,
    the spells table now contains empty slots as empty strings.

v1.6.0:

  • Make serializing/deserializing keep the positions of spells on the wand

v1.5.1:

  • Add error message when trying to access property that doesn't exist

EZWand v1.5.0

26 May 19:14
Compare
Choose a tag to compare
  • FIX EZWand.lua:257: table index is nil
  • Add EZWand.IsWand(entity_id) function
  • Add EZWand.GetHeldWand() function
  • Add wand.currentCastDelay property
  • Add wand.currentRechargeTime property

EZWand v1.4.1

13 Apr 21:50
Compare
Choose a tag to compare

v1.4.1:

  • FIX Spells not updating when wand is being held

v1.4.0:

  • Added GetFreeSlotsCount()

v1.3.2:

  • FIX Tooltip rendering with a lot of always cast spells, make it extend beyond the tooltip borders just like the original
  • FIX The always cast spells table can now be omitted when rendering tooltip

v1.3.1:

  • Add optional gui parameter to EZWand.RenderTooltip(), to use that gui instead of creating its own

v1.3.0:

  • Add EZWand.RenderTooltip()
  • FIX GetSpells() returned incorrect always cast spells order

v1.2.4:

  • FIX EZWand.Deserialize(): When no spells were present, would return table with 1 element being an empty string

EZWand v1.2.3

16 Dec 14:59
Compare
Choose a tag to compare

v1.2.3:

  • Change requirement of capacity being > 0 to >= 0
  • Remove requirement for manaRechargeSpeed to be bigger than 0

v1.2.2:

  • GetSprite() now returns SpriteComponent:image_file if AbilityComponent:sprite_file is an empty string

v1.2.1

25 May 19:57
Compare
Choose a tag to compare
  • FIX Overwriting of init_total_prob caused by dofiling data/scripts/gun/procedural/gun_procedural.lua

v1.2.0

24 May 15:02
Compare
Choose a tag to compare
  • Added serialize function and add overload for constructor which takes a serialized string to build a wand out of it
  • Added EZWand.Deserialize(serialized_string) which returns a table with the deserialized values without creating a new wand
  • Change logic what constitutes a wand from having a ManaReloaderComponent to having an AbilityComponent with use_gun_script="1"