Skip to content

Hybrasyl 0.5.2 - "Dar"

Compare
Choose a tag to compare
@baughj baughj released this 07 Jun 01:20

Hybrasyl 0.5.2 implements usage support for items, healing/damage/teleport support in the Python API, implements legend marks, and fixed a few bugs.

Features

  • Implement usage support for items. Items now respect their XML definitions for usage. For instance:

    <item>
    <use consumed="true">
    <teleport x="3" y="3">Test Village</teleport>
    <playereffect mp="50" hp="50" xp="50" gold="50"/>
    <effect id="3" speed="1"/>
    <soundeffect id="6"/>
    <scriptname>mycoolitem.py</scriptname>
    ...
    </item>

    Any of these use cases can be combined with one another, opening up a lot of possibilities for item scripting.

  • General concept of healing (increasing player/creature HP) implemented.

  • Python API scripting now supports damage/healing/etc.

  • Legend marks implemented, along with Python scripting API that can be used by in-game scripts to manage marks.

Bugfixes

  • Item quantities are now appropriately displayed in the exchange window.
  • Level and experience overflows corrected, maximum level is now set as a compile-time constant (Constants.MAX_LEVEL) and defaults to 99.
  • Item bonuses (AC, magic resistance, etc) are now correctly recalculated at login (thanks to @woghks123 for reporting this issue).
  • README updated.