mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-08 07:55:47 -07:00
This moves most of what was in the Damage system component to a helper, and renames that component DelayedDamage. It also introduces a new global script with all possible attack effects. Comments Taken From: Freagarach, Stan, bb Differential Revision: https://code.wildfiregames.com/D2092 This was SVN commit r22754.
6 lines
178 B
JavaScript
6 lines
178 B
JavaScript
Engine.RegisterInterface("Resistance");
|
|
|
|
/**
|
|
* Message of the form { "entity": entity, "invulnerability": true/false }
|
|
*/
|
|
Engine.RegisterMessageType("InvulnerabilityChanged");
|