@@ -122,6 +122,15 @@ func (a Ability) String() string {
|
|||||||
case 4:
|
case 4:
|
||||||
r = append(r, " End Closer"...)
|
r = append(r, " End Closer"...)
|
||||||
}
|
}
|
||||||
|
case TargetAhead, TargetBehind:
|
||||||
|
r = append(r, " to "...)
|
||||||
|
if a.TargetValue == 1 {
|
||||||
|
r = append(r, "the runner"...)
|
||||||
|
} else {
|
||||||
|
r = strconv.AppendInt(r, int64(a.TargetValue), 10)
|
||||||
|
}
|
||||||
|
r = append(r, ' ')
|
||||||
|
r = append(r, a.Target.String()...)
|
||||||
default:
|
default:
|
||||||
// For other targeting types, TargetValue is either irrelevant or limit.
|
// For other targeting types, TargetValue is either irrelevant or limit.
|
||||||
r = append(r, " to "...)
|
r = append(r, " to "...)
|
||||||
@@ -208,8 +217,8 @@ const (
|
|||||||
TargetSympathizers AbilityTarget = 2 // others with Sympathy
|
TargetSympathizers AbilityTarget = 2 // others with Sympathy
|
||||||
TargetInView AbilityTarget = 4 // others in view
|
TargetInView AbilityTarget = 4 // others in view
|
||||||
TargetFrontmost AbilityTarget = 7 // frontmost
|
TargetFrontmost AbilityTarget = 7 // frontmost
|
||||||
TargetAhead AbilityTarget = 9 // others ahead
|
TargetAhead AbilityTarget = 9 // ahead
|
||||||
TargetBehind AbilityTarget = 10 // others behind
|
TargetBehind AbilityTarget = 10 // behind
|
||||||
TargetAllTeammates AbilityTarget = 11 // all teammates
|
TargetAllTeammates AbilityTarget = 11 // all teammates
|
||||||
TargetStyle AbilityTarget = 18 // using style
|
TargetStyle AbilityTarget = 18 // using style
|
||||||
TargetRushingAhead AbilityTarget = 19 // rushing others ahead
|
TargetRushingAhead AbilityTarget = 19 // rushing others ahead
|
||||||
|
|||||||
Reference in New Issue
Block a user