今天给大家!做一个添加盛大 的气血石!很简单!具体看内容!
不说废话,直接写啦1.先在D:\mirserver\Mir200\Envir\Robot_def\AutoRunRobot.txt这个文件里添加一段脚本: #AutoRun NPC SEC 3 @战士补血 #AutoRun NPC SEC 3 @道士补血 #AutoRun NPC SEC 3 @法师补血 保存,关闭 2.然后在D:\mirserver\Mir200\Envir\Robot_def\RobotManage.txt加入如下脚本: [@战士补血] #IF #ACT Gmexecute 开始提问 @战气血石 [@道士补血] #IF #ACT Gmexecute 开始提问 @道血魔石 [@法师补血] #IF #ACT Gmexecute 开始提问 @法血魔石 保存,关闭 3.再到D:\mirserver\Mir200\Envir\MapQuest_Def\QManage.txt文件中加入一段: [@道血魔石] #IF checkjob taoist CHECKLEVELEX = 40 checkitemw 魔血石 CHECKHP < 220 < 100 #ACT HumanHP + 150 break #IF checkjob taoist CHECKLEVELEX = 41 checkitemw 魔血石 CHECKHP < 240 < 120 #ACT HumanHP + 150 break #IF checkjob taoist CHECKLEVELEX = 42 checkitemw 魔血石 CHECKHP < 260 < 140 #ACT HumanHP + 150 break #IF checkjob taoist CHECKLEVELEX = 43 checkitemw 魔血石 CHECKHP < 280 < 160 #ACT HumanHP + 150 break #IF checkjob taoist CHECKLEVELEX = 44 checkitemw 魔血石 CHECKHP < 300 < 180 #ACT HumanHP + 150 break #IF checkjob taoist CHECKLEVELEX = 45 checkitemw 魔血石 CHECKHP < 320 < 200 #ACT HumanHP + 150 break #IF checkjob taoist CHECKLEVELEX = 46 checkitemw 魔血石 CHECKHP < 340 < 220 #ACT HumanHP + 150 break #IF checkjob taoist CHECKLEVELEX = 47 checkitemw 魔血石 CHECKHP < 360 < 220 #ACT HumanHP + 150 break #IF checkjob taoist CHECKLEVELEX = 48 checkitemw 魔血石 CHECKHP < 380 < 240 #ACT HumanHP + 150 break #IF checkjob taoist CHECKLEVELEX = 49 checkitemw 魔血石 CHECKHP < 400 < 260 #ACT HumanHP + 150 break #IF checkjob taoist CHECKLEVELEX = 50 checkitemw 魔血石 CHECKHP < 420 < 280 #ACT HumanHP + 150 break #IF checkjob taoist CHECKLEVELEX = 51 checkitemw 魔血石 CHECKHP < 440 < 300 #ACT HumanHP + 150 break #IF checkjob taoist CHECKLEVELEX = 52 checkitemw 魔血石 CHECKHP < 460 < 320 #ACT HumanHP + 150 break #IF checkjob taoist CHECKLEVELEX = 53 checkitemw 魔血石 CHECKHP < 480 < 340 #ACT HumanHP + 150 break #IF checkjob taoist CHECKLEVELEX = 54 checkitemw 魔血石 CHECKHP < 500 < 380 #ACT HumanHP + 150 break #IF checkjob taoist CHECKLEVELEX = 55 checkitemw 魔血石 CHECKHP < 550 < 400 #ACT HumanHP + 150 break #IF checkjob taoist CHECKLEVELEX > 55 checkitemw 魔血石 CHECKHP < 600 < 380 #ACT HumanHP + 150 break #IF checkjob taoist CHECKLEVELEX = 40 checkitemw 魔血石 CHECKMP < 300 < 200 #ACT HumanMP + 150 break #IF checkjob taoist CHECKLEVELEX = 41 checkitemw 魔血石 CHECKMP < 350 < 250 #ACT HumanMP + 150 break #IF checkjob taoist CHECKLEVELEX = 42 checkitemw 魔血石 CHECKMP < 400 < 300 #ACT HumanMP + 100 break #IF checkjob taoist CHECKLEVELEX = 43 checkitemw 魔血石 CHECKMP < 450 < 350 #ACT HumanMP + 100 break #IF checkjob taoist CHECKLEVELEX = 44 checkitemw 魔血石 CHECKMP < 480 < 380 #ACT HumanMP + 100 break #IF checkjob taoist CHECKLEVELEX = 45 checkitemw 魔血石 CHECKMP < 500 < 400 #ACT HumanMP + 100 break #IF checkjob taoist CHECKLEVELEX = 46 checkitemw 魔血石 CHECKMP < 500 < 400 #ACT HumanMP + 100 break #IF checkjob taoist CHECKLEVELEX = 47 checkitemw 魔血石 CHECKMP < 520 < 420 #ACT HumanMP + 100 break #IF checkjob taoist CHECKLEVELEX = 48 checkitemw 魔血石 CHECKMP < 550 < 450 #ACT HumanMP + 100 break #IF checkjob taoist CHECKLEVELEX = 49 checkitemw 魔血石 CHECKMP < 600 < 500 #ACT HumanMP + 100 break #IF checkjob taoist CHECKLEVELEX = 50 checkitemw 魔血石 CHECKMP < 650 < 550 #ACT HumanMP + 100 break #IF checkjob taoist CHECKLEVELEX = 51 checkitemw 魔血石 CHECKMP < 680 < 580 #ACT HumanMP + 100 break #IF checkjob taoist CHECKLEVELEX = 52 checkitemw 魔血石 CHECKMP < 700 < 600 #ACT HumanMP + 80 break #IF checkjob taoist CHECKLEVELEX = 53 checkitemw 魔血石 CHECKMP < 720 < 620 #ACT HumanMP + 80 break #IF checkjob taoist CHECKLEVELEX = 54 checkitemw 魔血石 CHECKMP < 750 < 650 #ACT HumanMP + 80 break #IF checkjob taoist CHECKLEVELEX = 55 checkitemw 魔血石 CHECKMP < 780 < 680 #ACT HumanMP + 80 break #IF checkjob taoist CHECKLEVELEX > 55 checkitemw 魔血石 CHECKMP < 800 < 700 #ACT HumanMP + 100 break [@战气血石] #IF checkjob warrior CHECKLEVELEX = 40 checkitemw 气血石 CHECKHP < 400 < 250 #ACT HumanHP + 200 break #IF checkjob warrior CHECKLEVELEX = 41 checkitemw 气血石 CHECKHP < 450 < 300 #ACT HumanHP + 200 break #IF checkjob warrior CHECKLEVELEX = 42 checkitemw 气血石 CHECKHP < 500 < 350 #ACT HumanHP + 200 break #IF checkjob warrior CHECKLEVELEX = 43 checkitemw 气血石 CHECKHP < 550 < 400 #ACT HumanHP + 200 break #IF checkjob warrior CHECKLEVELEX = 44 checkitemw 气血石 CHECKHP < 600 < 450 #ACT HumanHP + 200 break #IF checkjob warrior CHECKLEVELEX = 45 checkitemw 气血石 CHECKHP < 650 < 500 #ACT HumanHP + 200 break #IF checkjob warrior CHECKLEVELEX = 46 checkitemw 气血石 CHECKHP < 700 < 550 #ACT HumanHP + 200 break #IF checkjob warrior CHECKLEVELEX = 47 checkitemw 气血石 CHECKHP < 750 < 600 #ACT HumanHP + 200 break #IF checkjob warrior CHECKLEVELEX = 48 checkitemw 气血石 CHECKHP < 800 < 650 #ACT HumanHP + 200 break #IF checkjob warrior CHECKLEVELEX = 49 checkitemw 气血石 CHECKHP < 850 < 700 #ACT HumanHP + 200 break #IF checkjob warrior CHECKLEVELEX = 50 checkitemw 气血石 CHECKHP < 880 < 750 #ACT HumanHP + 150 break #IF checkjob warrior CHECKLEVELEX = 51 checkitemw 气血石 CHECKHP < 900 < 800 #ACT HumanHP + 150 break #IF checkjob warrior CHECKLEVELEX = 52 checkitemw 气血石 CHECKHP < 950 < 850 #ACT HumanHP + 150 break #IF checkjob warrior CHECKLEVELEX = 53 checkitemw 气血石 CHECKHP < 1000 < 900 #ACT HumanHP + 150 break #IF checkjob warrior CHECKLEVELEX = 54 checkitemw 气血石 CHECKHP < 1050 < 950 #ACT HumanHP + 150 break #IF checkjob warrior CHECKLEVELEX = 55 checkitemw 气血石 CHECKHP < 1080 < 980 #ACT HumanHP + 150 break #IF checkjob warrior CHECKLEVELEX > 55 checkitemw 气血石 CHECKHP < 1100 < 1000 #ACT HumanHP + 200 break [@法血魔石] #IF checkjob wizard CHECKLEVELEX = 40 checkitemw 魔血石 CHECKHP < 100 < 80 #ACT HumanHP + 100 break #IF checkjob wizard CHECKLEVELEX = 41 checkitemw 魔血石 CHECKHP < 110 < 90 #ACT HumanHP + 100 break #IF checkjob wizard CHECKLEVELEX = 42 checkitemw 魔血石 CHECKHP < 120 < 100 #ACT HumanHP + 100 break #IF checkjob wizard CHECKLEVELEX = 43 checkitemw 魔血石 CHECKHP < 130 < 110 #ACT HumanHP + 100 break #IF checkjob wizard CHECKLEVELEX = 44 checkitemw 魔血石 CHECKHP < 140 < 120 #ACT HumanHP + 100 break #IF checkjob wizard CHECKLEVELEX = 45 checkitemw 魔血石 CHECKHP < 150 < 130 #ACT HumanHP + 100 break #IF checkjob wizard CHECKLEVELEX = 46 checkitemw 魔血石 CHECKHP < 160 < 140 #ACT HumanHP + 100 break #IF checkjob wizard CHECKLEVELEX = 47 checkitemw 魔血石 CHECKHP < 170 < 150 #ACT HumanHP + 100 break #IF checkjob wizard CHECKLEVELEX = 48 checkitemw 魔血石 CHECKHP < 180 < 160 #ACT HumanHP + 100 break #IF checkjob wizard CHECKLEVELEX = 49 checkitemw 魔血石 CHECKHP < 190 < 170 #ACT HumanHP + 100 break #IF checkjob wizard CHECKLEVELEX = 50 checkitemw 魔血石 CHECKHP < 200 < 180 #ACT HumanHP + 100 break #IF checkjob wizard CHECKLEVELEX = 51 checkitemw 魔血石 CHECKHP < 210 < 190 #ACT HumanHP + 100 break #IF checkjob wizard CHECKLEVELEX = 52 checkitemw 魔血石 CHECKHP < 220 < 200 #ACT HumanHP + 100 break #IF checkjob wizard CHECKLEVELEX = 53 checkitemw 魔血石 CHECKHP < 230 < 210 #ACT HumanHP + 100 break #IF checkjob wizard CHECKLEVELEX = 54 checkitemw 魔血石 CHECKHP < 240 < 220 #ACT HumanHP + 100 break #IF checkjob wizard CHECKLEVELEX = 55 checkitemw 魔血石 CHECKHP < 250 < 240 #ACT HumanHP + 100 break #IF checkjob wizard CHECKLEVELEX > 55 checkitemw 魔血石 CHECKHP < 260 < 250 #ACT HumanHP + 100 break #IF checkjob wizard CHECKLEVELEX = 40 checkitemw 魔血石 CHECKMP < 650 < 500 #ACT HumanMP + 200 break #IF checkjob wizard CHECKLEVELEX = 41 checkitemw 魔血石 CHECKMP < 750 < 600 #ACT HumanMP + 200 break #IF checkjob wizard CHECKLEVELEX = 42 checkitemw 魔血石 CHECKMP < 800 < 700 #ACT HumanMP + 200 break #IF checkjob wizard CHECKLEVELEX = 43 checkitemw 魔血石 CHECKMP < 850 < 750 #ACT HumanMP + 200 break #IF checkjob wizard CHECKLEVELEX = 44 checkitemw 魔血石 CHECKMP < 900 < 800 #ACT HumanMP + 200 break #IF checkjob wizard CHECKLEVELEX = 45 checkitemw 魔血石 CHECKMP < 950 < 850 #ACT HumanMP + 200 break #IF checkjob wizard CHECKLEVELEX = 46 checkitemw 魔血石 CHECKMP < 1000 < 900 #ACT HumanMP + 200 break #IF checkjob wizard CHECKLEVELEX = 47 checkitemw 魔血石 CHECKMP < 1050 < 950 #ACT HumanMP + 200 break #IF checkjob wizard CHECKLEVELEX = 48 checkitemw 魔血石 CHECKMP < 1100 < 1000 #ACT HumanMP + 200 break #IF checkjob wizard CHECKLEVELEX = 49 checkitemw 魔血石 CHECKMP < 1150 < 1050 #ACT HumanMP + 200 break #IF checkjob wizard CHECKLEVELEX = 50 checkitemw 魔血石 CHECKMP < 1200 < 1100 #ACT HumanMP + 200 break #IF checkjob wizard CHECKLEVELEX = 51 checkitemw 魔血石 CHECKMP < 1250 < 1150 #ACT HumanMP + 200 break #IF checkjob wizard CHECKLEVELEX = 52 checkitemw 魔血石 CHECKMP < 1300 < 1200 #ACT HumanMP + 200 break #IF checkjob wizard CHECKLEVELEX = 53 checkitemw 魔血石 CHECKMP < 1350 < 1250 #ACT HumanMP + 200 break #IF checkjob wizard CHECKLEVELEX = 54 checkitemw 魔血石 CHECKMP < 1400 < 1300 #ACT HumanMP + 200 break #IF checkjob wizard CHECKLEVELEX = 55 checkitemw 魔血石 CHECKMP < 1450 < 1350 #ACT HumanMP + 200 break #IF checkjob wizard CHECKLEVELEX > 55 checkitemw 魔血石 CHECKMP < 1500 < 1400 #ACT HumanMP + 200 break 保存,关闭 4.这是最后一步啦,在物品数据库里加入(也就是物品DB库) 气血石 53 0 1 0 0 0 992 5000 0 0 0 0 0 0 0 0 0 0 0 40 500000 5 魔血石 53 0 1 0 0 0 996 5000 0 0 0 0 0 0 0 0 0 0 0 40 500000 5 保存,关闭 启动游戏~OK
|