forked from 0ad/0ad
quantumstate
3715985f1a
The audio code does not yet support actually playing battle music. This was SVN commit r13091.
7 lines
232 B
JavaScript
7 lines
232 B
JavaScript
Engine.RegisterInterface("Attack");
|
|
|
|
// Message sent from Attack to the target entity, each
|
|
// time the target is damaged.
|
|
// Data: { attacker: 123, target: 234, type: "Melee", damage: 123 }
|
|
Engine.RegisterMessageType("Attacked");
|