Skip to content
Snippets Groups Projects

Melee range

Merged Grayswandir requested to merge grayswandir/t-engine4:melee-range into master

Rewrites the majority of melee talents to check the talent's range field instead of hardcoding the distance. This involved:

  • Actually giving a range to talents that didn't have one.
  • Replacing the range check with a call to canProject(tg, x, y)
  • Moving many hardcoded tg values into a target field, and using getTalentTarget instead.
  • Adding an is_melee and is_special_melee (shields) flag to talents (unnecessary, but potentially useful).

Also made it easier to have talents replace the Attack talent, like double strike.

I've run a character up through level 15, but otherwise haven't done much testing.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • We are close to 1.3.0; this changes lots and lots of suff; it needs to be fully and carefully tested for all talenst affected; or it'll have to wait for the release after 1.3

Please register or sign in to reply
Loading