注册 | 登录

游侠NETSHOW论坛





查看: 9999|回复: 9
打印 上一主题 下一主题

[求助] CW求全魔法代码。能在HERO.TXT中添加。 [复制链接]

帖子
1196
精华
0
积分
608
金钱
6069
荣誉
1
人气
0
评议
0
跳转到指定楼层
楼主
发表于 2010-10-4 07:50:15 |只看该作者 |倒序浏览
我看到lemon8000ok大大 出了个CW全魔法全兵种的MOD文件。。那个太疯狂。先只求全魔法代码。我在游戏里查了看不懂,哪位大大附上啊。

使用道具 举报

帖子
215
精华
0
积分
108
金钱
2827
荣誉
0
人气
0
评议
0
沙发
发表于 2010-10-4 08:34:06 |只看该作者
直接 mgaicbook............

使用道具 举报

帖子
78
精华
0
积分
49
金钱
1021
荣誉
1
人气
0
评议
0
板凳
发表于 2010-10-4 10:30:08 |只看该作者
  1. slot_bgs {
  2.   helmet=inventory_slot_helmet.png/hero_slot_helmet
  3.   weapon=inventory_slot_weapon.png/hero_slot_weapon
  4.   shield=inventory_slot_shield.png/hero_slot_shield
  5.   armor=inventory_slot_armor.png/hero_slot_armor
  6.   belt=inventory_slot_belt.png/hero_slot_belt
  7.   boots=inventory_slot_boots.png/hero_slot_boots
  8.   regalia=inventory_slot_regalia.png/hero_slot_regalia
  9.   artefact=inventory_slot_artefact.png/hero_slot_artefact
  10.   gloves=inventory_slot_dress.png/hero_slot_gloves
  11.   dress=inventory_slot_dress.png/hero_slot_dress

  12.   weapon,shield=inventory_slot_weapon_shield.png/hero_slot_weapon_shield
  13.   armor,dress=inventory_slot_armor_dress.png/hero_slot_armor_dress
  14.   shield,gloves=inventory_slot_shield_gloves.png/hero_slot_shield_gloves
  15.   shield,artefact=inventory_slot_shield_artefact.png/hero_slot_shield_artefact
  16.   belt,regalia=inventory_slot_belt_regalia.png/hero_slot_belt_regalia
  17.   belt,gloves=inventory_slot_belt_gloves.png/hero_slot_belt_gloves
  18.   regalia,dress=inventory_slot_regalia_dress.png/hero_slot_regalia_dress
  19.   regalia,artefact=inventory_slot_regalia_artefact.png/hero_slot_regalia_artefact

  20.   artefact,regalia,gloves=inventory_slot_regalia_artefact.png/hero_slot_artefact_regalia_gloves          // 宝物/王权/手套
  21.   shield,weapon,artefact,regalia,gloves=inventory_slot_regalia_artefact.png/hero_slot_shield_weapon_artefact_regalia_gloves   //盾牌/武器/宝物/王权/手套
  22.   belt,artefact,regalia,gloves=inventory_slot_belt_gloves.png/hero_slot_belt_artefact_regalia_gloves     // 腰带/宝物/王权/手套

  23.   artefact,belt=

  24. }

  25. // 耜痂矧 镳铌圜觇 ?赅痱桧觇
  26. levelup_script=calc_levelup
  27. levelup_bonus_pictures {
  28.   attack=levelup_bonus_attack2.png
  29.   mana=LevelUp_bonus_mana2.png
  30.   rage=LevelUp_bonus_rage2.png
  31.   attack=levelup_bonus_attack2.png
  32.   defense=levelup_bonus_defense2.png
  33.   leadership=LevelUp_bonus_leadership2.png
  34.   intellect=levelup_bonus_intellect2.png
  35.   //attack,rage=
  36. }

  37. //敌人英雄最高等级限制:
  38. //enemy_heroes_max_level=50

  39. //升级设定 (2~60级,所需exp)
  40. exptable=60,160,320,560,890,1300,1900,2600,3500,4600,5900,7400,9200,11300,13700,16400,19400,22800,26600,31000,36000,41000,47000,53000,60000,67000,75000,84000,93000,103000,114000,125000,137000,150000,164000,179000,195000,212000,230000,249000,270000,292000,315000,340000,366000,394000,424000,455000,488000,523000,560000,599000,641000,685000,731000,780000,832000,887000,945000
  41. nextexp=60000,2000 // 项耠?爨犟桁嚯钽?箴钼? 镱 耜铍?铒?磬徼疣弪?

  42. //领导力提升 (2~51级?,20个)
  43. leadtable=100,130,180,240,320,420,530,660,810,980,1160,1360,1580,1820,2080,2360,2660,2980,3320,3680,4060,4470,4900,5360,5840,6350,6890,7460,8060,8690,9350,10050,10790,11560,12370,13220,14120,15060,16050,17090,18180,19330,20540,21810,23140,24540,26010,27560,29190,30900

  44. leadcalcdispersion=10 // 朽玑痤?潆 腓溴瘃蜮?怵嚆钼

  45. // 玎 耜铍?箴钼礤?磬觇潲忄弪? 妁?钿磬 痼磬 ?爨犟桁嚯铎?滂囡噻铐?
  46. rune_level=20

  47. heroclasses {
  48.   0=warrior
  49.   1=paladin
  50.   2=mage
  51. }

  52. //英雄的佣兵
  53. heroparams {
  54.   0 {
  55.     ctl=nwg_butt_war
  56.     img=newgame_button_war_active.png
  57.     bg=newgame_bg_war.png
  58.     body=newgame_portrait_war.png
  59.     disp=-48,52
  60.     name=nwg_warname_default
  61.   }
  62.   1 {
  63.     ctl=nwg_butt_pal
  64.     img=newgame_button_pal_active.png
  65.     bg=newgame_bg_pal.png
  66.     body=newgame_portrait_pal.png
  67.     disp=-48,52
  68.     name=nwg_palname_default
  69.   }
  70.   2 {
  71.     ctl=nwg_butt_mag
  72.     img=newgame_button_mage_active.png
  73.     bg=newgame_bg_mage.png
  74.     body=newgame_portrait_mage.png
  75.     disp=0,0
  76.     name=nwg_magname_default
  77.   }
  78.   pet_name=nwg_petname_default
  79. }

  80. //——————————————★战士★————————————————————————————
  81. hero_warrior {
  82. start {
  83.         leadership=210
  84.         attack=2
  85.         defense=1
  86.         intellect=0
  87.         mana=10
  88.         rage=20
  89.         gold=2000000
  90.         rune_might=5   //AP521 KB420
  91.         rune_mind=2
  92.         rune_magic=1
  93.         crystals=3     // AP3 KB3
  94.         book=6         // AP6 KB3
  95. //skills_open=rage,traning //order,chaos,dist  //KB
  96. //skills_off=hi_magic,alchemist,rune_stone,holy_rage  // 神鬼莫测|炼金术|符文之石|神圣狂怒
  97. skills_open=rage_control //heroism, rage,traning //order,chaos,dist  //AP
  98. skills_off=hi_magic,resurrection
  99.         army=bowman|4|footman|6|bear|3
  100.         spells {
  101.           spell_haste=-3
  102.         }

  103. items {
  104. time_clock=1
  105. picture_inspirit=1
  106. }
  107. }
  108. // 耠铗?
  109.     slots {
  110. // 礤 玎猁忄屐 箨噻囹?赅痱桧觇 眢骓 觐灬桧圉栝 ?hero.txt -> slot_bgs
  111.       1=helmet
  112.       2=weapon
  113.       3=armor
  114.       4=boots
  115.       5=regalia,dress     // 王权标记/衣服
  116.       6=shield,weapon
  117.       7=belt,regalia
  118.       8=artefact
  119.       wife=wife
  120.     }
  121. // 镳铌圜赅
  122.     level_up {
  123.         leadership=60,80
  124.         attack=1,40
  125.         defense=1,30
  126.         intellect=1,10
  127.         mana=4,10
  128.         rage=6,40
  129.         runes=6-6
  130.         rune_might=50        // 忮痤蝽铖螯 镱塍麇龛 痼?
  131.         rune_mind=30
  132.         rune_magic=20
  133.         book=1,7 // 疣耱弪 磬 1 赅驿 8 箴钼屙?
  134.     }
  135.    k_spirit_up=1.0 // 觐翳鲨屙?磬徼疣龛 铒?耧桊栩?
  136. }


  137. //——————————————★圣骑士★————————————————————————————
  138. hero_paladin {
  139. start {
  140.         leadership=160
  141.         attack=1
  142.         defense=1
  143.         intellect=1
  144.         mana=15
  145.         rage=15
  146.         gold=20000000
  147.         rune_might=2      //AP242 KB141
  148.         rune_mind=4
  149.         rune_magic=2
  150.         book=8        // AP 8 KB 4
  151.         crystals=10   // AP10 KB 7
  152. skills_open=explorer
  153. skills_off=blood_lust,hi_magic  // 神鬼莫测|
  154.         army=bowman|3|priest|3|peasant|32

  155.         spells {
  156.                 spell_bless=1
  157.                 spell_healing=1
  158.                 spell_pacifism=-1
  159.         }

  160. items {
  161. time_clock=1
  162. picture_inspirit=1
  163. }
  164.     }
  165. // 耠铗?
  166.     slots {
  167. // 礤 玎猁忄屐 箨噻囹?赅痱桧觇 眢骓 觐灬桧圉栝 ?hero.txt -> slot_bgs
  168.       1=helmet
  169.       2=weapon
  170.       3=armor,dress
  171.       4=boots
  172.       5=regalia
  173.       6=shield,gloves
  174.       7=belt,regalia
  175.       8=regalia,artefact
  176.       wife=wife
  177.     }
  178. // 镳铌圜赅
  179.     level_up {
  180.         leadership=40,70
  181.         attack=1,30
  182.         defense=1,30
  183.         intellect=1,20
  184.         mana=5,20
  185.         rage=5,30
  186.         runes=6-6
  187.         rune_might=25
  188.         rune_mind=50
  189.         rune_magic=25
  190.         book=1,6 // 疣耱弪 磬 1 赅驿 7 箴钼屙?
  191.     }
  192.    k_spirit_up=0.9 // 觐翳鲨屙?磬徼疣龛 铒?耧桊栩?
  193. }

  194. //——————————————★魔法师★————————————————————————————
  195. hero_mage {
  196. //——————————————★初始化开始★———————————
  197. start {
  198.         leadership=120  //领导力
  199.         attack=0
  200.         defense=0
  201.         intellect=3     //知识
  202.         mana=20         //AP26 KB20
  203.         rage=10
  204.         gold=20000000
  205.         rune_might=1    //初始符石 AP1/1/6 KB0/1/5
  206.         rune_mind=1
  207.         rune_magic=6
  208.         crystals=20     //初始水晶 AP20 KB10
  209.         book=500        //卷轴容量 AP10 KB5
  210. //技能设定
  211. skills_open=wizdom,meditation  //chaos, alchemist  //KB 初始技能 智慧|冥想|混乱魔法|炼金术|
  212. skills_off=
  213. //skills_off=rune_stone,holy_rage, rage,iron_fist  //KB 不能学习 符文之石|神圣狂怒|愤怒之力|钢铁之拳
  214. //skills_off=blood_lust,resurrection  // AP 不能学习 嗜血|复活

  215. //部队
  216. //army=sprite|15|peasant|24|dragonfly_lake|15
  217. army=elf|2|elf2|2|bowman|2        //弓箭手/精灵射手/猎人
  218. //army=paladin|400
  219. //army=gaea|1|malcanthet|1|cabalist|5|conjurer|4|udalan|1
  220. //army=elf|400|demon|400|blackknight|90|demonologist|400|archmage|400 //精灵|恶魔|黑骑士|鬼神使|大法师
  221. //army=reddragon|99|archmage|400   //红龙|大法师
  222. //魔法
  223. spells {
  224. spell_fire_arrow=3         //火焰箭
  225. spell_adrenalin=3         //活力
  226. spell_angel_avenger=3         //复仇天使
  227. spell_anger_management=3 //狂怒转换
  228. spell_animal_call=3      //自然召唤
  229. spell_armageddon=3       //末日审判
  230. spell_berserker=3        //狂战士
  231. spell_bless=3            //祝福
  232. spell_blind=3            //失明
  233. spell_demon_slayer=3     //屠魔
  234. spell_demonologist=3     //恶魔之门
  235. spell_dispell=3          //驱散
  236. spell_divine_armor=3     //神圣装甲
  237. spell_dragon_wake=3      //唤醒
  238. spell_evilbook=3         //邪恶之书
  239. spell_exorcism=3         //驱魔
  240. spell_fire_ball=3        //火球
  241. spell_fire_breath=3      //地狱气息
  242. spell_fire_rain=3        //流星火雨
  243. spell_geyser=3           //地泉冲击
  244. spell_gifts=3         //天赋
  245. spell_haste=3         //加速
  246. spell_healing=3       //治愈
  247. spell_holy_rain=3     //生命之光
  248. spell_hypnosis=3      //催眠
  249. spell_invisibility=1  //隐身
  250. spell_lightning=3     //闪电
  251. spell_magic_bondage=3 //魔法束缚
  252. spell_magic_source=3  //魔力源头
  253. spell_necromancy=3    //召唤亡灵
  254. spell_pacifism=3      //和平主义
  255. spell_pain_mirror=3   //疼痛反射
  256. spell_phantom=3       //幻影
  257. spell_phoenix=3       //召唤凤凰
  258. spell_plague=3        //瘟疫
  259. spell_pygmy=3         //缩小
  260. spell_ram=3           //变羊
  261. spell_reaction=3      //战斗号角
  262. spell_resurrection=3  //复活
  263. spell_sacrifice=3     //献祭
  264. spell_shroud=3        //油幕
  265. spell_smile_skull=3   //剧毒头骨
  266. spell_stone_skin=3    //石头皮肤
  267. spell_target=3        //目标化
  268. spell_teleport=3      //传送
  269. spell_time_return=3   //时空回流
  270. spell_trap=3          //陷阱
  271. spell_zlogn=3         //邪物

  272. spell_mad_rage=-20      //狂怒
  273. spell_flame_gaze=-20    //炽热眼神
  274. spell_fortune_smile=-20 //会心一击
  275. spell_giant_birth=-20   //巨神降临
  276. spell_magic_stream=-20  //魔力之源
  277. spell_mind_depth=-20    //深思熟虑
  278. spell_parent_experience=-50   //资深经验
  279. spell_titan_armor=-20   //泰坦装甲
  280. spell_titan_sword=-20   //泰坦之剑
  281. spell_wind_song=-20     //风之歌
  282. spell_dead_outbreak=-20 //死亡召唤
  283.         }

  284. items {
  285. hf'book=1
  286. hf'Ring=1
  287. hf'Ring2=1
  288. hf'Tiara=1
  289. animal_medal=1          //动物之友勋章
  290. animal_medal=1
  291. animal_medal=1
  292. animal_medal=1
  293. animal_medal=1
  294. hunt_dragon_bow=1
  295. //法师必备
  296. marshal_baton=1                //元帅权杖
  297. magess_dress=1                //巫女法袍
  298. mystic_boots=1                //神秘之靴
  299. arhmage_staff=1                //大法师杖
  300. //CW新增物品
  301. drago_pet=1                //幼龙玩偶
  302. life_bow=1        //生命之弓        ★生命套装3
  303. life_shield_4=1        //生命之盾. 等级 I~IV
  304. life_shield_1=1
  305. raiven=1        //渡鸦(生命套装)
  306. martyr_sandal=1        //殉难者便鞋
  307.         }
  308.     }
  309. //——————————————★初始化结束★———————————

  310. //物品栏 设置 (默认不在hero.txt文件中更改)
  311. slots {
  312.     1=helmet      //头盔
  313.     2=weapon      //武器
  314.     3=armor,dress //盔甲/衣服
  315.     4=boots       //鞋子
  316.     5=artefact,regalia,gloves          // 宝物/王权/手套
  317.     6=shield,weapon,artefact,regalia,gloves   //盾牌/武器/宝物/王权/手套
  318.     7=belt,artefact,regalia,gloves     // 腰带/宝物/王权/手套
  319.     8=artefact,regalia,gloves          // 宝物/王权/手套
  320.     wife=wife
  321.     }

  322. // 升级设定
  323.     level_up {
  324.         leadership=30,40
  325.         //leadership=10 //40,30 (难度系数*10*level)
  326.         // 传奇难度50级=(2+50)/2*49*10=12740领导力
  327.         //荣耀LV3领导力+700 + 勋章+1000 + 装备2000+捡东西3000=7000
  328.         book=1,4 // 疣耱弪 磬 1 赅驿 4 箴钼屙?
  329.     }

  330.    k_spirit_up=0.7 // 觐翳鲨屙?磬徼疣龛 铒?耧桊栩?
  331. }
复制代码
附件: 你需要登录才可以下载或查看附件。没有帐号?注册

使用道具 举报

帖子
330
精华
0
积分
175
金钱
777
荣誉
1
人气
0
评议
0
地板
发表于 2010-11-25 14:12:49 |只看该作者
spell_giant_birth=-20   //巨神降临

这个在游戏中如何输入???

使用道具 举报

帖子
8
精华
0
积分
4
金钱
84
荣誉
0
人气
0
评议
0
5#
发表于 2011-8-21 00:43:59 |只看该作者
回复 hf-g 的帖子

有没有什么代码改一下能让我方兵种的生命值上限提升的,最好是代码,装备其次,能帮我看一下吗?我只会改照代码不会看.谢了.

使用道具 举报

帖子
78
精华
0
积分
49
金钱
1021
荣誉
1
人气
0
评议
0
6#
发表于 2011-8-23 03:47:21 |只看该作者
回复 journeyxpj 的帖子

物品属性中有 "//生命xx点/+xx%"的属性.

我只会做装备, 还不会改其他的呀.

使用道具 举报

帖子
78
精华
0
积分
49
金钱
1021
荣誉
1
人气
0
评议
0
7#
发表于 2011-8-23 03:53:09 |只看该作者
有了这套我做的装备你就不用愁了:

[分享] [AP][下载] 新做的物品MOD 有图片介绍

http://game.ali213.net/thread-2788363-1-1.html

很多人都说太无耻了.

使用道具 举报

帖子
8
精华
0
积分
4
金钱
84
荣誉
0
人气
0
评议
0
8#
发表于 2011-8-23 20:04:18 |只看该作者
回复 hf-g 的帖子

谢了,我在两天前就自已上网发现了,不过我不明白(health,1000,1000,0,-100,0,0)这个加血量的代码它第三个跟后面第五,六 "0 "是代表什么意思?求解```

使用道具 举报

帖子
78
精华
0
积分
49
金钱
1021
荣誉
1
人气
0
评议
0
9#
发表于 2011-8-24 00:36:04 |只看该作者
    物品中:
     pbonus=health,20,0,0,-100,0,0  //生命20点
     pbonus=health,0,20,0,-100,0,0  //生命+20%

使用道具 举报

帖子
8
精华
0
积分
4
金钱
84
荣誉
0
人气
0
评议
0
10#
发表于 2011-8-24 21:02:13 |只看该作者
这个我知道,我是问第三个数值跟后面第五个和第六个的意义.

使用道具 举报

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

手机版|Archiver|游侠NETSHOW论坛 ( 苏ICP备2023007791号 )

GMT+8, 2026-4-4 12:32 , Processed in 0.363074 second(s), 12 queries , Gzip On, Memcache On.

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

分享到