< 魔兽世界百科 >
您尚未注册/登录
搜索帮助
搜索提示已开启 输入搜索关键词时将自动出现其他玩家的同类搜索词 开启搜索提示 搜索关键词时仍按普通搜索提交框方式输入 什么是智能搜索提示
职业技能 (1199)专业技能 (423)
武器 (2209)防具 (15620)药品 (0)任务道具 (1677)材料 (0)其它 (10399)
商人NPC (981)任务NPC (952)怪物 (7220)其他NPC (10639)
1-10级11-20级21-30级31-40级41-50级50级以上
全部地图 (10091)
WOW动态 (267)WOW学院 (778)职业研究 (27077)副本心得 (1319)天赋交流 (559)任务攻略 (1868)专业技能心得 (740)战场PVP (803)宏与插件交流 (222)
游戏百科 > 魔兽世界 > WOW手册 > 宏与插件交流 > 法师 > 百科资料
资源苗 基于游戏百科共建计划 - 了解 | 加入
在魔兽世界中已有97,635项百科条目,如果你有任何可以分享的请
法师秘术分析(宏键课题研究)
好东西!投票支持(6)
匿名投票,确认投票给Drakedog
资料版本 1.0,更新时间:2005年8月24日 来源地址

加入一些说明 以下宏还是比较简单实用的,键盘上使用宏操作毕竟会快捷方便许多。

1 Spells
1.1 Self Cast any spell
CODE
/target "player"
/cast SpellName(Rank x)
/script TargetLastEnemy();

Change SpellName(Rank x) by the Spell name and his rank.
在上面那个代码里把SpellName(Rank x)改为你需要的魔法 以下同
不知道什么名字也不怕 在宏命令编写的时候打开魔法书 shift+鼠标左键点那个魔法图标
你需要的魔法就出现在你正在编写的宏里面了

Example

CODE
/target "player"
/cast Purify(Rank 1)
/script TargetLastEnemy();

这个宏使用完之后 目标会自动切换为最后一个敌人(目标)

1.2 Selfcasting non-enemy spells
Some spells can not be cast on enemies. Thus, if you have an enemy targeted, you can cast them on yourself.
Example
This macro will only cast the spell if it can be cast on you:

CODE
/script if ( not UnitIsFriend("player", "target") ) then CastSpellByName("Spell(Rank 1)"); end
/script if ( SpellIsTargeting() ) then SpellTargetUnit("player"); end

Replace Spell(Rank 1) with the name and rank of the ability you wish to use.
这段代码是把一些不能对敌人(敌对目标)施放的魔法对自己施放
使用后的目标仍然是你原来的目标

1.3 Cast a spell based on target’s class
You’ll need to target the person you want to buff first. Here’s an example for a paladin to use; note that it should all be on one line:

CODE
/script class = UnitClass("target"); if ( ( class == "Rogue" ) or ( class == "Warrior" ) ) then
CastSpellByName("Blessing of Might(Rank 1)"); else CastSpellByName("Blessing of Wisdom(Rank 1)"); end

这一段看起来很有趣 里面有个判别 根据对方的不同给予不同的buff
是以pally做例子的 当然其他选手也可以参考
如果对方是盗贼或者战士则对他施放Blessing of Might(Rank 1)
如果对方不是上面俩职业则对他释放Blessing of Wisdom(Rank 1)

2 Inventory/Items
2.1 Equip an item

CODE
/script PickupContainerItem(bag, slot);

bag goes from 0 to 4, and slot from 1 to 20 (depending on bag size).
For more information, go to Item equipping to see how to use items from backpacks etc
装备某个物品的宏 其中(bag, slot)
分别是0~4对应5个包 和1~20对应包里的位置
这样 快速切换武器/装备就变的容易了

2.2 Use a Bandage

CODE
/script UseAction(ActionID, 0, 1);
/script if( SpellIsTargeting() ) then SpellTargetUnit("player"); end

Bandage must be placed in the action bar at the slot given by ActionID. ActionID is a number from 1 to 120. Slot1-ActionBar1 is ActionID1, Slot12 is ActionID12, Slot1-ActionBar2 is ActionID13 and so on up to Slot12 of ActionBar10. This will bandage your target, or yourself if your current target is not a friendly target.
对自己使用绷带的宏 但是绷带必须放到快捷栏的一个空格中
(ActionID, 0, 1) 中 ActionID 对应着快捷栏 数值从1~120
第一行第一个是1最后一个是12 第二行第一个是13......依次类推
这个宏对目标使用绷带 如果目标不能被急救则对自己使用

Here’s a different version courtesy of post by Sarf on the forums. This one will always self-bandage, even if you have a friendly player targeted. It will also re-target your original target. Note that this must all be on one line, its just split up for readability:


CODE
/script p="player";t="target";if(not UnitCanAttack(t, p))then ot=UnitName(t);TargetUnit(p);else ot=nil;end;
UseAction(ActionID);if(SpellIsTargeting()) then SpellTargetUnit(p); end if(ot) then TargetByName(ot);end

上面这一段的目的和前一段略有不同 不管当前目标是否可以被急救
绷带都对自己使用 并且使用后当前目标不变

3. Interface
3.1 Switching Hotbars

CODE
/script CURRENT_ACTIONBAR_PAGE = X;
/script ChangeActionBarPage();

Where X is the Hotbar number

Example

CODE
/script CURRENT_ACTIONBAR_PAGE = 1;
/script ChangeActionBarPage();

这一句是直接切换到第几页快捷键表 其中的X对应每一条快捷条

4. Miscellaneous
4.1 Adjusting Quest Fade
To change it to a more reasonable speed, try:

CODE
/script QUEST_DESCRIPTION_GRADIENT_CPS = 100;

To disable it altogether, use

CODE
/script QUEST_FADING_ENABLE = nil;

接任务的时候总是看着打半天字吧
前一个是加快任务说明的显示速度
后一个干脆让说明直接出现(不用等待)

Both of these need to be pasted or typed into the chat box. To simplify use, they could also be made into a macro button. To save them permanently, type

CODE
/script RegisterForSave(QUEST_DESCRIPTION_GRADIENT_CPS)

and similarly for QUEST_FADING_ENABLE if you use that instead.


暂时没有补充内容 您可以第一个补充内容


引用百科资源:多种方式引用本页 | 浏览引用了本页的网站/网页(244)
关闭
百科引用链使您能方便地在其他网页插入本资源的引用链接,让优秀的百科资源通过引用链对更多玩家造成帮助。
越多的玩家通过您的引用链访问百科将为您带来更多的百科威望!

引用本页地址(点击复制到粘贴板) 粘贴到你想引用的网页。
HTML形式的传播:

论坛形式的传播:

关闭
本页有下列读者,字体越大、颜色越深的玩家阅读本页的次数越多。
*如果您的玩家名称未刊载于此,因为只有百科成员才能记录阅读体验。
在魔兽世界中已有97,635项百科条目,如果你有任何可以分享的请

本页由 Drakedog 创建,希望能用你我的开放思维帮助下得到不断完善。
共有 0 条评论 浏览全部评论
匿名发表,您可以马上注册/登录成为百科玩家后用属于自己个性名称发表。

《法师秘术分析(宏键课题研究)》的任何感想和见解请发于此。

请和我们一起建造全球最大的人工游戏百科
在本目录提交一笔资料 - 我们的计划 - 成为目录编辑
搜游的搜索内容将在 游戏百科共建计划 的基础上不断完善与加强。
当前目录下还没有目录编辑负责管理。
 

想把自己的网站也加上搜索功能?来这里获得免费的魔兽世界搜索条

搜游大全 - 免责声明 - 投放广告 - 商务合作

© 2005 - 2007 搜友游戏百科 SOUYO.com