Skip to content
Snippets Groups Projects
Commit 17fc0348 authored by Hachem_Muche's avatar Hachem_Muche
Browse files

Updated targeting table interpretation (by default target type functions) to...

Updated targeting table interpretation (by default target type functions) to be consistent for different targeting types and improve AoE targeting. (Default behavior is unchanged.)

Target.defaults.block_path updated to handle blocking by actors using a new actorblock (default:true) parameter in conjunction with the friendlyblock (default:nil, controls if specified) parameter to allow projection to be selectively blocked by all types of actors (based on reaction: all, none, friendly only, hostile only) as required.

Updated Target.defaults.block_radius to handle the same blocking parameters as Target.defaults.block_path (stop_block, pass_terrain, actorblock, friendlyblock).  This allows AoE projection to be blocked by non-terrain entities.  In ToME, this will allow certain (mostly projectile) talents to be significantly simplified (Fan of Knives, The Shotgonne, several others), as well as allowing projection to stop at friends.

A targeting table may specify display_line_step = false to prevent targeting path highlight from overlapping AoE highlights.

Fixed a bug where engine.Actor:canMove was not passing the actor to Map:checkEntity.
parent 540c215a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment