英雄无敌5-控制台修改及代码使用方法如下:第一步: 在安装文件夹下的profiles里找到autoexec.cfg。记事本打开。最后一行。加上:setvar dev_console_password = schwinge-des-todes改后效果://============================================================================// Startupmainmenusetvar dev_console_password = schwinge-des-todes第二步:我的文档\mygames\Heroes of Might and Magic V\名字\input.cfg打开。找到// obsolete, but strictly need for compability with some interfacesbind close_window 'ESC'bind confirm_action 'ENTER'bind show_console '`'(此行自己添加)第三步:关键一步。。。。打开游戏。。。进入地图。。。按`键输入enable_cheats然后会看到诸如使用cheat会失去游戏乐趣的厚道提示云云。。然后就可以使用控制台了。%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%另外。有些雀早特殊的功能比如解除战争迷雾和隐藏操作界面什么的。需要自己修改input.cfg还有些很BT的作弊键,比如//adventure debugbind adventure_teleport 'CTRL' + 'SHIFT' + 'T 传送bind adventure_remove_object 'CTRL' + 'D' 移除//END adventure debug//combat debugbind combat_killcreature 'CTRL' + 'D' 杀死生物bind combat_creaturegiveturn 'CTRL' + 'F' 进度条//end combat debug代码(1)普通作弊码"add_skill + 技能名/数字" 可以给选定英雄加技能,例如在控制台中输入:add_skill Necromancy这个可以加巫术或者在后边加数字:add_skill 19可以加寻路术。这些数字对应的技能可以用写字板打开data\data.pak\scripts\advmap-startup.lua这个文件察看注意这个data.pak是个压缩文件,可以用解压软件(winrar,winzip等)把它打开并把想要的文件解压出来。用这种方法所加的技能数量是可以超出原有限制,虽然不磨配会显示出来,但是效果还在add_army 种族代码, 是否升级加生物种族代码对应如下:HEAVEN(圣堂) = 0PRESERVE(森林) = 1ACADEMY(学院) = 2DUNGEON(地牢)= 3NECRO(不死) = 4INFERNO(炼狱) = 5例如:add_army 5, 0会给英雄加升级前的7种炼狱生物各十(至于原来的兵会怎样?试过就知道了)add_army 4, 1加升级后的七种不死生物各十add_all_spells使英雄学会所有魔法,不受技能限制(包括使用这顷游雀些魔法)set_hero_luck_morale M N改变英雄的基本运气(M)和士气(N),例如 set_hero_luck_morale 5 3show_player_money N显示玩家N所拥有的资源,例如 show_player_money 2show_hero_mpShows detailed movement point stats for currently selected hero - exact quantity, stats for currently plotted path(how many points it'll take).add_exp N加经验,例如add_exp 5000add_money N加金币1000*N,其他所有资源加N(2)调用函数上边的都只算小儿科,下边来点真格的在data.pak或你所解出来的文件夹里的.lua 、.xdb文件里边你通常会看到一大堆函数,游戏中的所有事件(如征兵,学技能等)都是通过这些函数实现的。开始游戏时这些文件会对游戏进行初始化。然而通过控制台你可以在游戏中调用这些函数,也就是说,只要你知道了这些函数,几乎可以人为的实现在游戏中可能实现的一切要在游戏中使用这些函数,只要调用控制台,在这些函数前加上@,并使用相关参数就可以了。例如:文件中有这么一句:GiveExp("Isabell",5000)会给Isabell 5000经验(太明显啦!)那么在控制台里,你可以输入:@GiveExp("x", y)会给英雄 x 增加经验值 y或者更简单的:@Win()直接取得胜利@Loose()失败下边列几个比较实用的:@GiveArtefact("x", y)给英雄x加上物品y,y可以是物品名或者物品代码,@TeachHeroSpell("Isabell",SPELL_PHANTOM)使Isabell学会法术PHANTOM, 也可以用法术代码@AddHeroSkill('Isabell', 13)加技能13@AddHeroCreatures( "Agrael", CREATURE_HELL_HOUND, 1000 );给Agreal加1000只Hell Hound@SetTownBuildingLimitLevel('Putor', 13, 1);设定城镇Putor的建设等级@OpenCircleFog (0, 0, 0, 9999, PLAYER_x);给第x位玩家开图(地面)如果是地底的话@OpenCircleFog (0, 0, 1, 9999, PLAYER_x);@SetPlayerResource(PLAYER_1,x,y);把玩家1的资源x设为y,x对应资源GOLD,WOOD,ORE,GEM,SULFER,MERCURY,CRYSTAL ;y对应数字@ChangeHeroStat( 'Isabell', STAT_ATTACK, 9999 );使Isabell的攻击变为9999@AddHeroWarMachine('Isabell',1)给英雄加战争机器这里的部分代码我会在后边列出,当然你最好可以自己去查lua文件,我比较常用/data/script/里边的注意: 游戏里显示的名称(如英雄名,城镇名等)往往跟在程序里使用的内部名称不一样,对于英雄名,可以用这个命令@print(GetPlayerHeroes(PLAYER_x))显示第x位玩家的英雄名。至于其他的,也可以在/data/text/里边查找,不过比较麻烦,希望有高手能解决这个问题没见过作弊能这么bt的。不过,我喜欢。这么强大的控制台并不一定要拿来作弊的,比如说在最后大局已定英雄毒孤求拜时,可以放几百条黑龙出来耍耍又或者让一队地狱犬在清掉一群骷髅后说:“Mmmmm, yummy......”活活, yy无限啊当然这个也可以方便制作mod的玩家进行调试,本来就是debug用的6月2日更新:@print(GetObjectPos('heroname'))会显示英雄的坐标@SetObjectPos('heroname',x,y,0)瞬移(地面)@SetObjectPos('heroname',x,y,1)瞬移(地底)@CreateMonster('Peasant',CREATURE_PEASANT,100,30,40,1)在地底坐标(30,40)处放100个农民附:技能代码物品代码法术代码(这个好像不止法术而已,而且看起来有点恐怖,如果能全部挖掘的话)英雄属性兵种及英雄代码技能代码-- Skill type IDs---- Basic SkillsSKILL_LOGISTICS = 1SKILL_WAR_MACHINES = 2SKILL_LEARNING = 3SKILL_LEADERSHIP = 4SKILL_LUCK = 5SKILL_OFFENCE = 6SKILL_DEFENCE = 7SKILL_SORCERY = 8SKILL_DESTRUCTIVE_MAGIC = 9SKILL_DARK_MAGIC = 10SKILL_LIGHT_MAGIC = 11SKILL_SUMMONING_MAGIC = 12-- Class skillsSKILL_TRAINING = 13SKILL_GATING = 14SKILL_NECROMANCY = 15SKILL_AVENGER = 16SKILL_ARTIFICIER = 17SKILL_INVOCATION = 18-- PerksPERK_PATHFINDING = 19PERK_SCOUTING = 20PERK_NAVIGATION = 21PERK_FIRST_AID = 22PERK_BALLISTA = 23PERK_CATAPULT = 24PERK_INTELLIGENCE = 25PERK_SCHOLAR = 26PERK_EAGLE_EYE = 27PERK_RECRUITMENT = 28PERK_ESTATES = 29PERK_DIPLOMACY = 30PERK_RESISTANCE = 31PERK_LUCKY_STRIKE = 32PERK_FORTUNATE_ADVENTURER = 33PERK_TACTICS = 34PERK_ARCHERY = 35PERK_FRENZY = 36PERK_PROTECTION = 37PERK_EVASION = 38PERK_TOUGHNESS = 39PERK_MYSTICISM = 40PERK_WISDOM = 41PERK_ARCANE_TRAINING = 42PERK_MASTER_OF_ICE = 43PERK_MASTER_OF_FIRE = 44PERK_MASTER_OF_LIGHTNINGS = 45PERK_MASTER_OF_CURSES = 46PERK_MASTER_OF_MIND = 47PERK_MASTER_OF_SICKNESS = 48PERK_MASTER_OF_BLESSING = 49PERK_MASTER_OF_ABJURATION = 50PERK_MASTER_OF_WRATH = 51PERK_MASTER_OF_QUAKES = 52PERK_MASTER_OF_CREATURES = 53PERK_MASTER_OF_ANIMATION = 54-- Knight perksPERK_HOLY_CHARGE = 55PERK_PRAYER = 56PERK_EXPERT_TRAINER = 57-- Demonlord perksPERK_CONSUME_CORPSE = 58PERK_DEMONIC_FIRE = 59PERK_DEMONIC_STRIKE = 60-- Necromancer perksPERK_RAISE_ARCHERS = 61PERK_NO_REST_FOR_THE_WICKED = 62PERK_DEATH_SCREAM = 63-- Ranger perksPERK_MULTISHOT = 64PERK_SNIPE_DEAD = 65PERK_IMBUE_ARROW = 66-- Wizard perksPERK_MAGIC_BOND = 67PERK_MELT_ARTIFACT = 68PERK_MAGIC_MIRROR = 69-- Warlock perksPERK_EMPOWERED_SPELLS = 70PERK_DARK_RITUAL = 71PERK_ELEMENTAL_VISION = 72-- Feats-- KnightKNIGHT_FEAT_ROAD_HOME = 73KNIGHT_FEAT_TRIPLE_BALLISTA = 74KNIGHT_FEAT_ENCOURAGE = 75KNIGHT_FEAT_RETRIBUTION = 76KNIGHT_FEAT_HOLD_GROUND = 77KNIGHT_FEAT_GUARDIAN_ANGEL = 78KNIGHT_FEAT_STUDENT_AWARD = 79KNIGHT_FEAT_GRAIL_VISION = 80KNIGHT_FEAT_CASTER_CERTIFICATE = 81KNIGHT_FEAT_ANCIENT_SMITHY = 82KNIGHT_FEAT_PARIAH = 83KNIGHT_FEAT_ELEMENTAL_BALANCE = 84KNIGHT_FEAT_ABSOLUTE_CHARGE = 85-- Demon LordDEMON_FEAT_QUICK_GATING = 86DEMON_FEAT_MASTER_OF_SECRETS = 87DEMON_FEAT_TRIPLE_CATAPULT = 88DEMON_FEAT_GATING_MASTERY = 89DEMON_FEAT_CRITICAL_GATING = 90DEMON_FEAT_CRITICAL_STRIKE = 91DEMON_FEAT_DEMONIC_RETALIATION = 92DEMON_FEAT_EXPLODING_CORPSES = 93DEMON_FEAT_DEMONIC_FLAME = 94DEMON_FEAT_WEAKENING_STRIKE = 95DEMON_FEAT_FIRE_PROTECTION = 96DEMON_FEAT_FIRE_AFFINITY = 97DEMON_FEAT_ABSOLUTE_GATING = 98-- NecromancerNECROMANCER_FEAT_DEATH_TREAD = 99NECROMANCER_FEAT_LAST_AID = 100NECROMANCER_FEAT_LORD_OF_UNDEAD = 101NECROMANCER_FEAT_HERALD_OF_DEATH = 102NECROMANCER_FEAT_DEAD_LUCK = 103NECROMANCER_FEAT_CHILLING_STEEL = 104NECROMANCER_FEAT_CHILLING_BONES = 105NECROMANCER_FEAT_SPELLPROOF_BONES = 106NECROMANCER_FEAT_DEADLY_COLD = 107NECROMANCER_FEAT_SPIRIT_LINK = 108NECROMANCER_FEAT_TWILIGHT = 109NECROMANCER_FEAT_HAUNT_MINE = 110NECROMANCER_FEAT_ABSOLUTE_FEAR = 111-- RangerRANGER_FEAT_DISGUISE_AND_RECKON = 112RANGER_FEAT_IMBUE_BALLISTA = 113RANGER_FEAT_CUNNING_OF_THE_WOODS = 114RANGER_FEAT_FOREST_GUARD_EMBLEM = 115RANGER_FEAT_ELVEN_LUCK = 116RANGER_FEAT_FOREST_RAGE = 117RANGER_FEAT_LAST_STAND = 118RANGER_FEAT_INSIGHTS = 119RANGER_FEAT_SUN_FIRE = 120RANGER_FEAT_SOIL_BURN = 121RANGER_FEAT_STORM_WIND = 122RANGER_FEAT_FOG_VEIL = 123RANGER_FEAT_ABSOLUTE_LUCK = 124-- WizardWIZARD_FEAT_MARCH_OF_THE_MACHINES = 125WIZARD_FEAT_REMOTE_CONTROL = 126WIZARD_FEAT_ACADEMY_AWARD = 127WIZARD_FEAT_ARTIFICIAL_GLORY = 128WIZARD_FEAT_SPOILS_OF_WAR = 129WIZARD_FEAT_WILDFIRE = 130WIZARD_FEAT_SEAL_OF_PROTECTION = 131WIZARD_FEAT_COUNTERSPELL = 132WIZARD_FEAT_MAGIC_CUSHION = 133WIZARD_FEAT_SUPRESS_DARK = 134WIZARD_FEAT_SUPRESS_LIGHT = 135WIZARD_FEAT_UNSUMMON = 136WIZARD_FEAT_ABSOLUTE_WIZARDY = 137-- warlockWARLOCK_FEAT_TELEPORT_ASSAULT = 138WARLOCK_FEAT_SHAKE_GROUND = 139WARLOCK_FEAT_DARK_REVELATION = 140WARLOCK_FEAT_FAST_AND_FURIOUS = 141WARLOCK_FEAT_LUCKY_SPELLS = 142WARLOCK_FEAT_POWER_OF_HASTE = 143WARLOCK_FEAT_POWER_OF_STONE = 144WARLOCK_FEAT_CHAOTIC_SPELLS = 145WARLOCK_FEAT_SECRETS_OF_DESTRUCTION = 146WARLOCK_FEAT_PAYBACK = 147WARLOCK_FEAT_ELITE_CASTERS = 148WARLOCK_FEAT_ELEMENTAL_OVERKILL = 149WARLOCK_FEAT_ABSOLUTE_CHAINS = 150物品代码:ARTIFACT_SWORD_OF_RUINS = 1ARTIFACT_GREAT_AXE_OF_GIANT_SLAYING = 2ARTIFACT_WAND_OF_X = 3ARTIFACT_UNICORN_HORN_BOW = 4ARTIFACT_TITANS_TRIDENT = 5ARTIFACT_STAFF_OF_VEXINGS = 6ARTIFACT_SHACKLES_OF_WAR = 7ARTIFACT_FOUR_LEAF_CLOVER = 8ARTIFACT_ICEBERG_SHIELD = 9ARTIFACT_GOLDEN_SEXTANT = 10ARTIFACT_CROWN_OF_COURAGE = 11ARTIFACT_CROWN_OF_MANY_EYES = 12ARTIFACT_PLATE_MAIL_OF_STABILITY = 13ARTIFACT_BREASTPLATE_OF_PETRIFIED_WOOD = 14ARTIFACT_PEDANT_OF_MASTERY = 15ARTIFACT_NECKLACE_OF_BRAVERY = 16ARTIFACT_WEREWOLF_CLAW_NECKLACE = 17ARTIFACT_EVERCOLD_ICICLE = 18ARTIFACT_NECKLACE_OF_POWER = 19ARTIFACT_RING_OF_LIGHTING_PROTECTION = 20ARTIFACT_RING_OF_LIFE = 21ARTIFACT_RING_OF_HASTE = 22ARTIFACT_NIGHTMARISH_RING = 23ARTIFACT_BOOTS_OF_SPEED = 24ARTIFACT_GOLDEN_HORSESHOE = 25ARTIFACT_WAYFARER_BOOTS = 26ARTIFACT_BOOTS_OF_INTERFERENCE = 27ARTIFACT_ENDLESS_SACK_OF_GOLD = 28ARTIFACT_ENDLESS_BAG_OF_GOLD = 29ARTIFACT_ANGEL_WINGS = 30ARTIFACT_LION_HIDE_CAPE = 31ARTIFACT_PHOENIX_FEATHER_CAPE = 32ARTIFACT_CLOAK_OF_MOURNING = 33ARTIFACT_HELM_OF_ENLIGHTMENT = 34ARTIFACT_CHAIN_MAIL_OF_ENLIGHTMENT = 35ARTIFACT_DRAGON_SCALE_ARMOR = 36ARTIFACT_DRAGON_SCALE_SHIELD = 37ARTIFACT_DRAGON_BONE_GRAVES = 38ARTIFACT_DRAGON_WING_MANTLE = 39ARTIFACT_DRAGON_TEETH_NECKLACE = 40ARTIFACT_DRAGON_TALON_CROWN = 41ARTIFACT_DRAGON_EYE_RING = 42ARTIFACT_DRAGON_FLAME_TONGUE = 43ARTIFACT_ROBE_OF_MAGI = 44ARTIFACT_STAFF_OF_MAGI = 45ARTIFACT_CROWN_OF_MAGI = 46ARTIFACT_RING_OF_MAGI = 47ARTIFACT_DWARVEN_MITHRAL_CUIRASS = 48ARTIFACT_DWARVEN_MITHRAL_GREAVES = 49ARTIFACT_DWARVEN_MITHRAL_HELMET = 50ARTIFACT_DWARVEN_MITHRAL_SHIELD = 51ARTIFACT_SCROLL_OF_SPELL_X = 52ARTIFACT_GRAAL = 53ARTIFACT_BOOTS_OF_LEVITATION = 54ARTIFACT_SKULL_HELMET = 55ARTIFACT_VALORIOUS_ARMOR = 56ARTIFACT_BOOTS_OF_SWIFTNESS = 57ARTIFACT_MOONBLADE = 58ARTIFACT_RING_OF_CELERITY = 59ARTIFACT_BAND_OF_CONJURER = 60ARTIFACT_EARTHSLIDERS = 61ARTIFACT_RIGID_MANTLE = 62ARTIFACT_JINXING_BAND = 63ARTIFACT_BONESTUDDED_LEATHER = 64ARTIFACT_WISPERING_RING = 65ARTIFACT_HELM_OF_CHAOS = 66ARTIFACT_TWISTING_NEITHER = 67ARTIFACT_SANDALS_OF_THE_SAINT = 68ARTIFACT_SHAWL_OF_GREAT_LICH = 69ARTIFACT_RING_OF_DEATH = 70ARTIFACT_NECROMANCER_PENDANT = 71ARTIFACT_FREIDA = 72ARTIFACT_RING_OF_THE_SHADOWBRAND = 73ARTIFACT_ARTIFACT_EFFECT_COUNT = 74法术代码:SPELL_NONE = 0;SPELL_MAGIC_ARROW = 1;SPELL_MAGIC_FIST = 2;SPELL_LIGHTNING_BOLT = 3;SPELL_ICE_BOLT = 4;SPELL_FIREBALL = 5;SPELL_FROST_RING = 6;SPELL_CHAIN_LIGHTNING = 7;SPELL_METEOR_SHOWER = 8;SPELL_IMPLOSION = 9;SPELL_ARMAGEDDON = 10;SPELL_CURSE = 11;SPELL_SLOW = 12;SPELL_DISRUPTING_RAY = 13;SPELL_PLAGUE = 14;SPELL_WEAKNESS = 15;SPELL_ABILITY_WEAKNING_STRIKE = 16;SPELL_FORGETFULNESS = 17;SPELL_BERSERK = 18;SPELL_BLIND = 19;SPELL_HYPNOTIZE = 20;SPELL_UNHOLY_WORD = 21;SPELL_UNHOLY_WORD_HIT_EFFECT = 22;SPELL_BLESS = 23;SPELL_HASTE = 24;SPELL_STONESKIN = 25;SPELL_DISPEL = 26;SPELL_DISPEL_FAIL = 27;SPELL_BLOODLUST = 28;SPELL_DEFLECT_ARROWS = 29;SPELL_DEFLECT_ARROWS_HIT_EFFECT = 30;SPELL_ANTI_MAGIC = 31;SPELL_TELEPORT = 32;SPELL_TELEPORT_FINISH_EFFECT = 33;SPELL_CELESTIAL_SHIELD = 34;SPELL_HOLY_WORD = 35;SPELL_HOLY_WORD_HIT_EFFECT = 36;SPELL_ARMAGEDDON_HIT_EFFECT = 37;SPELL_LAND_MINE = 38;SPELL_WASP_SWARM = 39;SPELL_PHANTOM = 40;SPELL_EARTHQUAKE = 41;SPELL_ANIMATE_DEAD = 42;SPELL_SUMMON_ELEMENTALS = 43;SPELL_EFFECT_SUMMON_ELEMENTALS_AIR = 44;SPELL_EFFECT_SUMMON_ELEMENTALS_EARTH = 45;SPELL_EFFECT_SUMMON_ELEMENTALS_FIRE = 46;SPELL_EFFECT_SUMMON_ELEMENTALS_WATER = 47;SPELL_RESURRECT = 48;SPELL_SUMMON_BOAT = 49;SPELL_DIMENSION_DOOR = 50;SPELL_TOWN_PORTAL = 51;SPELL_ENCOURAGE = 52;SPELL_HOLY_CHARGE = 53;SPELL_PRAYER = 54;SPELL_DEMONIC_STRIKE_CAST = 55;SPELL_DEMONIC_STRIKE = 56;SPELL_CONSUME_CORPSE = 57;SPELL_SPIRIT_LINK = 58;SPELL_DEATH_SCREAM = 59;SPELL_SNIPE_DEAD = 60;SPELL_MULTISHOT = 61;SPELL_IMBUE_ARROW = 62;SPELL_ABILITY_MAGIC_BOND = 63;SPELL_ABILITY_MELT_ARTIFACT = 64;SPELL_ABILITY_COUNTERSPELL = 65;SPELL_ABILITY_UNSUMMON = 66;SPELL_ABILITY_DARK_RITUAL = 67;SPELL_SKILL_OFFENCE1 = 68;SPELL_SKILL_OFFENCE2 = 69;SPELL_SKILL_OFFENCE3 = 70;SPELL_SKILL_ARCHERY = 71;SPELL_SKILL_FRENZY = 72;SPELL_SKILL_DEFENCE1 = 73;SPELL_SKILL_DEFENCE2 = 74;SPELL_SKILL_DEFENCE3 = 75;SPELL_SKILL_PROTECTION = 76;SPELL_SKILL_EVASION = 77;SPELL_SKILL_TOUGHNESS = 78;SPELL_SKILL_LUCK1 = 79;SPELL_SKILL_LUCK2 = 80;SPELL_SKILL_LUCK3 = 81;SPELL_SKILL_RESISTANCE = 82;SPELL_SKILL_LUCKY_STRIKE = 83;SPELL_SKILL_LEADERSHIP1 = 84;SPELL_SKILL_LEADERSHIP2 = 85;SPELL_SKILL_LEADERSHIP3 = 86;SPELL_SKILL_WAR_MACHINES1 = 87;SPELL_SKILL_WAR_MACHINES2 = 88;SPELL_SKILL_WAR_MACHINES3 = 89;SPELL_SKILL_FIRST_AID = 90;SPELL_SKILL_BALLISTA = 91;SPELL_SKILL_CATAPULT = 92;SPELL_SKILL_DEMONIC_FIRE = 93;SPELL_SKILL_ELVEN_VOLLEY = 94;SPELL_SKILL_MATRON_SALVO = 95;SPELL_SKILL_ANCIENT_SMITHY = 96;SPELL_SKILL_FIRE_PROTECTION = 97;SPELL_SPEC_JOUSTER = 98;SPELL_SPEC_PEASANTS = 99;SPELL_SPEC_ARCHERS = 100;SPELL_SPEC_FOOTMEN = 101;SPELL_SPEC_GRIFFINS = 102;SPELL_SPEC_ARTILLERYMAN = 103;SPELL_SPEC_FURIOUS = 104;SPELL_SPEC_BOMBARDIER = 105;SPELL_SPEC_IMPREGNABLE = 106;SPELL_SPEC_FLAGBEARER_OF_DARKNESS = 107;SPELL_SPEC_HOUNDS = 108;SPELL_SPEC_SUCCUBUSES = 109;SPELL_SPEC_BLADE_MASTER = 110;SPELL_SPEC_ELVES = 111;SPELL_SPEC_UNICORNS = 112;SPELL_SPEC_ELVEN_FURY = 113;SPELL_SPEC_FOREST_GUARDIAN = 114;SPELL_SPEC_ZOMBIES = 115;SPELL_SPEC_VAMPIRES = 116;SPELL_SPEC_EMPIRIC = 117;SPELL_SPEC_SOULHUNTER = 118;SPELL_SPEC_MASTER_OF_ELEMENTS = 119;SPELL_SPEC_GREMLINS = 120;SPELL_SPEC_GOLEMS = 121;SPELL_SPEC_MAGES = 122;SPELL_SPEC_PRUDENT = 123;SPELL_SPEC_EVASIVE = 124;SPELL_SPEC_RIDERS = 125;SPELL_SPEC_MATRON_SALVO = 126;SPELL_SPEC_SAVAGE = 127;SPELL_SPEC_WITCHES = 128;SPELL_SPEC_MINOTAURS = 129;SPELL_TOWN_OFFENCE_P1 = 130;SPELL_TOWN_OFFENCE_M1 = 131;SPELL_TOWN_DEFENCE_P1 = 132;SPELL_TOWN_DEFENCE_M1 = 133;SPELL_TOWN_OFFENCE_DEFENCE_P1 = 134;SPELL_TOWN_OFFENCE_DEFENCE_M1 = 135;SPELL_TOWN_OFFENCE_P2 = 136;SPELL_TOWN_OFFENCE_M2 = 137;SPELL_TOWN_DEFENCE_P2 = 138;SPELL_TOWN_DEFENCE_M2 = 139;SPELL_TOWN_OFFENCE_DEFENCE_P2 = 140;SPELL_TOWN_OFFENCE_DEFENCE_M2 = 141;SPELL_TOWN_LUCK_P1 = 142;SPELL_TOWN_LUCK_M1 = 143;SPELL_TOWN_MORALE_P1 = 144;SPELL_TOWN_MORALE_M1 = 145;SPELL_TOWN_ELVEN_CAPITAL = 146;SPELL_TOWN_WALLS = 147;SPELL_TOWN_TOWERS = 148;SPELL_TOWN_UNHOLY_TEMPLE = 149;SPELL_TOWN_DARK_GUARDIAN = 150;SPELL_TOWN_SPARKLING_FOUNTAIN = 151;SPELL_TOWN_DIETY_OF_FIRE = 152;SPELL_TOWN_INFERNAL_LOOM = 153;SPELL_ABILITY_BATTLE_DIVE = 154;SPELL_ABILITY_BATTLE_DIVE_FINISH = 155;SPELL_ABILITY_LAY_HANDS = 156;SPELL_ABILITY_RESURRECT_ALLIES = 157;SPELL_ABILITY_SCATTER_SHOT = 158;SPELL_ABILITY_GATING = 159;SPELL_ABILITY_FEAR = 160;SPELL_ABILITY_SUMMON_BALOR = 161;SPELL_ABILITY_EXPLOSION = 162;SPELL_ABILITY_EXPLOSION_EFFECT = 163;SPELL_ABILITY_CHAIN_SHOT_END_EFFECT = 164;SPELL_ABILITY_MANA_DESTROY = 165;SPELL_ABILITY_MANA_STEAL = 166;SPELL_ABILITY_LIFE_DRAIN = 167;