green damage resolutions
This commit is contained in:
parent
af569b155e
commit
a3d596a9b2
@ -20,11 +20,6 @@
|
||||
- fx for buffs when applied to enemies
|
||||
- invert + haste -> doubles all cooldowns
|
||||
|
||||
- haste
|
||||
- additional attack with red skills if affected
|
||||
- deal % dmg based on speed difference between source and target?
|
||||
- l2 maybe reduce cooldowns or something
|
||||
|
||||
- heal
|
||||
- buff %
|
||||
|
||||
@ -34,7 +29,6 @@
|
||||
|
||||
*CLIENT*
|
||||
|
||||
purge green disable
|
||||
rework scatter
|
||||
hatred maybe
|
||||
|
||||
|
||||
@ -121,6 +121,11 @@ function eventClasses(resolution, construct) {
|
||||
construct.blue_life.value = resolution.target.blue;
|
||||
return 'blue-damage';
|
||||
}
|
||||
if (colour === 'Green') {
|
||||
construct.green_life.value = resolution.target.green;
|
||||
return 'green-damage';
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -246,7 +251,9 @@ function getCombatText(construct, resolution) {
|
||||
}
|
||||
|
||||
if (type === 'Damage') {
|
||||
const { skill, amount, mitigation, colour } = event;
|
||||
const { skill, mitigation, colour } = event;
|
||||
let { amount } = event;
|
||||
if (colour === 'Green') amount *= -1;
|
||||
const mitigationText = mitigation
|
||||
? `(${mitigation})`
|
||||
: '';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user