Skip to content
Snippets Groups Projects

Major events update

Merged Hachem_Muche requested to merge Hachem_Muche/t-engine4:MajorEventsUpdate into master
  1. May 23, 2017
  2. Mar 30, 2017
  3. Mar 29, 2017
    • Hachem_Muche's avatar
      7f237b65
    • Hachem_Muche's avatar
      Remove debugging code. · bd70a478
      Hachem_Muche authored
      bd70a478
    • Hachem_Muche's avatar
      Update game.state:doneEvent function. · 1ccdbef8
      Hachem_Muche authored
      Fix bug in passing event_id to event functions (metatables).
      Fixed uniqueness of cultists event.
      1ccdbef8
    • Hachem_Muche's avatar
      GameState:doneEvent updated to allow incrementing the used count (which is returned) · af3e5092
      Hachem_Muche authored
      GameState:startEvents() updated:
      The zone events file supports some new fields:
      unique = true prevents triggering of events that have previously been triggered (anywhere in the game)
      level_range = a range of allowed levels the event is allowed to spawn on (complements the forbid field)
      special = an optional function(lev) that can determine if the event should spawn or not
      (Logic reversed: must now return true to allow the event to trigger, consistent with other "special" functions)
      doneEvent is always triggered for events that are placed or assigned to a level
      
      Updated the sludgenest and noxious-caldera events for the wilderness and the conclave-vault event for the halfling ruins.  (They special field
      
      is removed as it's not needed.)
      
      Added documentation and output to the relevant GameState functions.
      
      Added (with appropriate level restrictions) the rat-lich, old-battle-field, damp-cave, drake-cave, fearscape-portal, and naga-portal events to
      
      the I.D. The cultists event in the I.D. is now unique and can only spawn from level 5+.
      af3e5092
  4. Mar 26, 2017
    • Hachem_Muche's avatar
      Elite Guardians for the drake-cave, naga-portal, and fearscape-portal events... · 2b349530
      Hachem_Muche authored
      Elite Guardians for the drake-cave, naga-portal, and fearscape-portal events have a chance to gain an extra class and drop an additional rare item above level 50.
      2b349530
    • Hachem_Muche's avatar
      naga-portal, fearscape-portal : · 0cc75037
      Hachem_Muche authored
      Ensure portal breaks when appropriate.
      Prevent respawns in spots with no path to the portal.
      0cc75037
    • Hachem_Muche's avatar
      Fixes issues with major events (that create an additional level): · 97e7bd09
      Hachem_Muche authored
      sub-vault, rat-lich, damp-cave, old-battle-field, drake-cave, naga-portal, fearscape-portal
      
      .no_worldport is set to that of the parent zone.
      Actor levels are 5% to 15% higher than the the parent zone and game difficulty adjustments are not compounded.
      Object material levels match the parent zone.
      Auto explore and minimap settings updated.
      
      Fixed a bug in sub-vault that was preventing the stairs from crumbling as intended.
      
      The player can choose to ignore the naga-portal and fearscape-portal by hitting escape at the pop-up.
      
      Fixed a bug in game:changeLevelReal that was causing the player to incorrectly be placed at level start when params.auto_level_stair was set.
      
      The player is correctly placed on one of the graves when returning from the old-battle-field event.
      97e7bd09
Loading