Professional Documents
Culture Documents
Corhero 2
Corhero 2
@filename
Attack.js
@author
kolton
@desc
*/
var Attack = {
classes: ["Amazon", "Sorceress", "Necromancer", "Paladin", "Barbarian",
"Druid", "Assassin"],
infinity: false,
// Initialize attacks
init: function () {
if (Config.Wereform) {
include("common/Attacks/wereform.js");
} else {
include("common/Attacks/" + this.classes[me.classid] +
".js");
}
if (me.gametype === 1) {
this.checkInfinity();
this.getCharges();
}