[Feature] Add adjustability for AERampage Range. (#3548)

* [Feature] Add adjustability for AERampage Range.

This functionality is needed for fights like Ture to be accurate, where their ramp range was 101% of their melee safe range.

Example in lua of utilizing this scripting

```
e.self:SetSpecialAbilityParam(SpecialAbility.area_rampage,8,101;
```

* Updates to address comments
This commit is contained in:
Fryguy
2023-08-20 00:36:06 -04:00
committed by GitHub
parent 00e02b61ca
commit 5631a0711f
6 changed files with 31 additions and 15 deletions
+5
View File
@@ -1285,6 +1285,11 @@ void Mob::AI_Process() {
opts.crit_flat = cur;
}
cur = GetSpecialAbilityParam(SPECATK_AREA_RAMPAGE, 8);
if (cur > 0) {
opts.range_percent = cur;
}
AreaRampage(&opts);
specialed = true;
}