HomeWildfire Games

Get attack effects from JSON.

Description

Get attack effects from JSON.

Reads attack effects from JSON files to allow easier introduction (one still needs to modify other components).

Differential revision: D2661
Comments by: @Angen, @bb, @Stan, @wraitii

Event Timeline

Freagarach added inline comments.
/ps/trunk/binaries/data/mods/public/globalscripts/AttackEffects.js
34–39
this.effectReceivers.sort(
 (a, b) => Math.sign(
  effectsDataObj[a.type].order -
  effectsDataObj[b.type].order));

By @elexis.

By removing the default this breaks the being attacked sound.