战网中国

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 7992|回复: 5
打印 上一主题 下一主题

kolbot 请教招灵脚本 (已解決)

[复制链接]

8

主题

45

帖子

352

积分

骑士

Rank: 4

积分
352
跳转到指定楼层
楼主
发表于 2016-11-18 23:58:13 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 shaylin3 于 2016-11-19 18:12 编辑

基本上是用垂丁的脚本改攻击距离跟技能设定而已  可是不会招换骷髅 法师 甚至土魔,会飞到mf设定地点 但是只有佣兵在攻击,不知道技能哪里设定错误

Config.AttackSkill[0] = -1; // Preattack skill. Not implemented yet.
Config.AttackSkill[1] = 500; // Primary skill to bosses.
Config.AttackSkill[2] = -1; // Primary untimed skill to bosses. Keep at -1 if Config.AttackSkill[1] is untimed skill.
Config.AttackSkill[3] = 500; // Primary skill to others.
Config.AttackSkill[4] = -1; // Primary untimed skill to bosses. Keep at -1 if Config.AttackSkill[3] is untimed skill.
Config.AttackSkill[5] = -1; // Secondary skill if monster is immune to primary.
Config.AttackSkill[6] = -1; // Secondary untimed skill if monster is immune to primary untimed.

// Class specific config
Config.Curse[0] = 87; // Boss curse. Use skill number or set to 0 to disable.
Config.Curse[1] = 66; // Other monsters curse. Use skill number or set to 0 to disable.
Config.ExplodeCorpses = 74; // Explode corpses. Use skill number or 0 to disable. 74 = Corpse Explosion, 83 = Poison Explosion
回复

使用道具 举报

8

主题

45

帖子

352

积分

骑士

Rank: 4

积分
352
沙发
 楼主| 发表于 2016-11-19 15:24:24 | 只看该作者
只知道下面是屍爆  不知道-1跟500是啥意思呢
回复 支持 反对

使用道具 举报

6

主题

268

帖子

1万

积分

光明使者

Rank: 8Rank: 8

积分
11089

社区居民最爱沙发忠实会员

板凳
发表于 2016-11-19 16:02:48 | 只看该作者
不要用垂丁的腳本改....有些設定是個職業才有的
//技能设定 详细技能代码请查阅\d2bs\kolbot\sdk,
        //常见的角色技能设置文件可以在这里找到Templates\Attacks.txt
        Config.AttackSkill[0] = 68; // Preattack skill.  68骨盾
        Config.AttackSkill[1] = 500; // Primary skill to bosses.
        Config.AttackSkill[2] = -1; // Primary untimed skill to bosses. Keep at -1 if Config.AttackSkill[1] is untimed skill.
        Config.AttackSkill[3] = 500; // Primary skill to others.
        Config.AttackSkill[4] = -1; // Primary untimed skill to others. Keep at -1 if Config.AttackSkill[3] is untimed skill.
        Config.AttackSkill[5] = -1; // Secondary skill if monster is immune to primary.
        Config.AttackSkill[6] = -1; // Secondary untimed skill if monster is immune to primary untimed.

        // Low mana skills - these will be used if main skills can't be cast.
        Config.LowManaSkill[0] = -1; // Timed low mana skill.
        Config.LowManaSkill[1] = -1; // Untimed low mana skill.

        /* Advanced Attack config. Allows custom skills to be used on custom monsters.
         *        Format: "Monster Name": [timed skill id, untimed skill id]
         *        Example: "Baal": [38, -1] to use charged bolt on Baal
         *        Multiple entries are separated by commas
         */
        Config.CustomAttack = {
                //"Monster Name": [-1, -1]
        };

        Config.Dodge = true; // 远距离攻击模式,像sor一般请设置为true。近身职业请设置为false。 // Move away from monsters that get too close. Don't use with short-ranged attacks like Poison Dagger.
        Config.DodgeRange = 10; // 距离怪物多远进行攻击。 // Distance to keep from monsters.
        Config.DodgeHP = 100; // 血量低于多少百分比开始启用远距离攻击模式。100为总是启用远距离攻击模式。 // Dodge only if HP percent is less than or equal to Config.DodgeHP. 100 = always dodge.
        Config.BossPriority = false; // 是否优先击杀金怪。 // Set to true to attack Unique/SuperUnique monsters first when clearing
        Config.ClearType = 0; // 清场模式:0xF为跳过普通怪物,0为所有怪物全部清理。 // Monster spectype to kill in level clear scripts (ie. Mausoleum). 0xF = skip normal, 0x7 = champions/bosses, 0 = all
        Config.TeleStomp = false; // 使用佣兵攻击免疫怪物。 // Use merc to attack bosses if they're immune to attacks, but not to physical damage

        // Wereform setup. Make sure you read Templates/Attacks.txt for attack skill format.
        Config.Wereform = false; // 0 / false - don't shapeshift, 1 / "Werewolf" - change to werewolf, 2 / "Werebear" - change to werebear

        // 职业特殊设定
        // Class specific config
        Config.Curse[0] = 87; // Boss curse. Use skill number or set to 0 to disable.   87衰老  91降低抵抗 Lower Resist
        Config.Curse[1] = 66; // Other monsters curse. Use skill number or set to 0 to disable.   66傷害加深

        Config.ExplodeCorpses = 74; // Explode corpses. Use skill number or 0 to disable. 74 = Corpse Explosion屍爆, 83 = Poison Explosion
        Config.Golem = "Clay"; // Golem. 0 or "None" = don't summon, 1 or "Clay" = Clay Golem, 2 or "Blood" = Blood Golem, 3 or "Fire" = Fire Golem
        Config.Skeletons = "max"; // Number of skeletons to raise. Set to "max" to auto detect, set to 0 to disable.
        Config.SkeletonMages = "max"; // Number of skeleton mages to raise. Set to "max" to auto detect, set to 0 to disable.
        Config.Revives = "max"; // Number of revives to raise. Set to "max" to auto detect, set to 0 to disable.
        Config.PoisonNovaDelay = 2; // Delay between two Poison Novas in seconds.
        Config.ActiveSummon = false; // Raise dead between each attack. If false, it will raise after clearing a spot.
        Config.ReviveUnstackable = true; // Revive monsters that can move freely after you teleport.
        Config.IronGolemChicken = 30; // Exit game if Iron Golem's life is less or equal to designated percent.
       
       
        // AutoBuild System ( See /d2bs/kolbot/libs/config/Builds/README.txt for instructions )
        Config.AutoBuild.Enabled = false;                        //        This will enable or disable the AutoBuild system
       
        Config.AutoBuild.Template = "BuildName";        //        The name of the build associated with an existing
                                                                                                //        template filename located in libs/config/Builds/

        Config.AutoBuild.Verbose = true;                        //        Allows script to print messages in console
        Config.AutoBuild.DebugMode = true;                        //        Debug mode prints a little more information to console and
                                                                                                //        logs activity to /logs/AutoBuild.CharacterName._MM_DD_YYYY.log
                                                                                                //        It automatically enables Config.AutoBuild.Verbose
}

加一下這些看會不會變正常
回复 支持 反对

使用道具 举报

8

主题

45

帖子

352

积分

骑士

Rank: 4

积分
352
地板
 楼主| 发表于 2016-11-19 17:54:23 | 只看该作者
用複製貼上的一直報錯 只好手打一些 主要是職業特殊設定  不過還是不招骷髏土模之類的....
/* Attack config
         * To disable an attack, set it to -1
         * Skills MUST be POSITIVE numbers. For reference see http://pastebin.com/baShRwWM
         */
         
        Config.AttackSkill[0] = 68; // Preattack skill. Not implemented yet.
        Config.AttackSkill[1] = 500; // Primary skill to bosses.
        Config.AttackSkill[2] = -1; // Primary untimed skill to bosses. Keep at -1 if Config.AttackSkill[1] is untimed skill.
        Config.AttackSkill[3] = 500; // Primary skill to others.
        Config.AttackSkill[4] = -1; // Primary untimed skill to bosses. Keep at -1 if Config.AttackSkill[3] is untimed skill.
        Config.AttackSkill[5] = -1; // Secondary skill if monster is immune to primary.
        Config.AttackSkill[6] = -1; // Secondary untimed skill if monster is immune to primary untimed.
       
        Config.LowManaSkill[0] = -1;
        Config.LowManaSkill[1] = -1;

       
        // Class specific config
        Config.Curse[0] = 87; // Boss curse. Use skill number or set to 0 to disable.
        Config.Curse[1] = 66; // Other monsters curse. Use skill number or set to 0 to disable.

        Config.ExplodeCorpses = 74; // Explode corpses. Use skill number or 0 to disable. 74 = Corpse Explosion, 83 = Poison Explosion
        Config.Golem = "Clay";
        Config.SkeletonMages = "max";
        Config.Revives = "max";
        Config.PoisonNovaDelay = 2;
        Config.ActiveSummon = false;
        Config.ReviveUnstackable = true;
        Config.IronGolemChicken = 30;
       
        /* Advanced Attack config. Allows custom skills to be used on custom monsters.
         *        Format: "Monster Name": [timed skill id, untimed skill id]
         *        Multiple entries are separated by commas
         */
        Config.CustomAttack = {
                //"Monster Name": [-1, -1]
        };

        Config.Dodge = true; // Move away from monsters that get too close. Don't use with short-ranged attacks like Poison Dagger.
        Config.DodgeRange = 10; // Distance to keep from monsters.
        Config.DodgeHP = 100; // Dodge only if HP percent is less than or equal to Config.DodgeHP. 100 = always dodge.
        Config.BossPriority = false; // Set to true to attack Unique/SuperUnique monsters first when clearing
        Config.ClearType = 0; // Monster spectype to kill in level clear scripts (ie. Mausoleum). 0xF = skip normal, 0x7 = champions/bosses, 0 = all
        Config.TeleStomp = false; // Use merc to attack bosses if they're immune to attacks, but not to physical damage
       
        // Wereform setup. Make sure you read Templates/Attacks.txt for attack skill format.
        Config.Wereform = false; // 0 / false - don't shapeshift, 1 / "Werewolf" - change to werewolf, 2 / "Werebear" - change to werebear

        // Class specific config
        Config.Curse[0] = 0; // Boss curse. Use skill number or set to 0 to disable.
        Config.Curse[1] = 0; // Other monsters curse. Use skill number or set to 0 to disable.

        Config.ExplodeCorpses = 0; // Explode corpses. Use skill number or 0 to disable. 74 = Corpse Explosion, 83 = Poison Explosion
        Config.Golem = "None"; // Golem. 0 or "None" = don't summon, 1 or "Clay" = Clay Golem, 2 or "Blood" = Blood Golem, 3 or "Fire" = Fire Golem
        Config.Skeletons = 0; // Number of skeletons to raise. Set to "max" to auto detect, set to 0 to disable.
        Config.SkeletonMages = 0; // Number of skeleton mages to raise. Set to "max" to auto detect, set to 0 to disable.
        Config.Revives = 0; // Number of revives to raise. Set to "max" to auto detect, set to 0 to disable.
        Config.PoisonNovaDelay = 2; // Delay between two Poison Novas in seconds.
        Config.ActiveSummon = false; // Raise dead between each attack. If false, it will raise after clearing a spot.
        Config.ReviveUnstackable = true; // Revive monsters that can move freely after you teleport.
        Config.IronGolemChicken = 30; // Exit game if Iron Golem's life is less or equal to designated percent.
       
       
        // AutoBuild System ( See /d2bs/kolbot/libs/config/Builds/README.txt for instructions )
        Config.AutoBuild.Enabled = false;                        //        This will enable or disable the AutoBuild system
       
        Config.AutoBuild.Template = "BuildName";        //        The name of the build associated with an existing
                                                                                                //        template filename located in libs/config/Builds/

        Config.AutoBuild.Verbose = true;                        //        Allows script to print messages in console
        Config.AutoBuild.DebugMode = true;                        //        Debug mode prints a little more information to console and
                                                                                                //        logs activity to /logs/AutoBuild.CharacterName._MM_DD_YYYY.log
                                                                                                //        It automatically enables Config.AutoBuild.Verbose
回复 支持 反对

使用道具 举报

8

主题

118

帖子

894

积分

圣骑士

Rank: 5Rank: 5

积分
894

社区居民忠实会员

5#
发表于 2016-11-19 17:56:22 | 只看该作者
Config.Golem = "None"; // Golem. 0 or "None" = don't summon, 1 or "Clay" = Clay Golem, 2 or "Blood" = Blood Golem, 3 or "Fire" = Fire Golem

你都設定不招喚了是要招什麼?
回复 支持 反对

使用道具 举报

8

主题

45

帖子

352

积分

骑士

Rank: 4

积分
352
6#
 楼主| 发表于 2016-11-19 18:12:35 | 只看该作者
10萬分的感謝.....真是低級錯誤
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|BattleCN ( 陕ICP备05006600号 )

GMT+8, 2025-2-8 04:25 , Processed in 0.052758 second(s), 21 queries .

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表