Skip to content
Commit c77d4379 authored by DarkGod's avatar DarkGod
Browse files

Merge branch 'melee-range' into 'master'

Melee range

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.
parents 350aa821 07749c92
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment