佳丽云

英雄无敌3-WoG中文站

 找回密码
 英雄注册|Register
查看: 6424|回复: 5

How to make an artifact with ERM-Primary Skill Bonuses

[复制链接]

 成长值: 30310

  • TA的每日心情
    无聊
    2020-5-27 00:09
  • 签到天数: 24 天

    连续签到: 2 天

    [LV.4]狂狼人

    5774

    回帖

    2696万

    金币

    42

    精华

    管理员

    精灵奇侠

    Rank: 12Rank: 12Rank: 12

    积分
    9245381

    社区QQ达人论坛创始人杰出贡献论坛元老

    发表于 2011-10-15 22:58:31 | 显示全部楼层 |阅读模式
    Original Posted @ Heroes Community by gnollking

    Okay, so in this guide we will use one of the Blank ERM Artifacts #161-170. Let's use the Shield #163, it looks nice.
    So of course, the first line is:

    ZVSE

    Then we'll have to add a these lines:

    !?OB5/163;
    !!UN:Ov998/v999/v1000;
    !!UN:Iv998/v999/v1000/5/163;
    !!ARv998/v999/v1000:M^{GnollKing's Shield}

    When equipped, this Shield gives +2 bonus to all primary skills.^;


    These lines set the hint text of the artifact 163, when the artifact is equipped. (you can edit the name and description as you wish)
    So, next we'll need to give the bonuses to the primary skills, when hero has the Shield equipped, to do this, we add these lines:

    !?AE1&v998=163;
    !!HE-1:Fd2/d2/d2/d2;


    First line says: When artifact 163 equipped, next occurs.
    And the second line increases the hero's (-1 (current hero)), who equipped the artifact, all primary skills by +2. When there's a "d" in front of the number, it tells we add numbers to the current value.
    So, next we'll have to decrease the skills when hero unequips the artifacts. This is done easily:

    !?AE0&v998=163;
    !!HE-1:Fd-2/d-2/d-2/d-2;


    Almost the same, but after the "!?AE" is a number "0", it means the artifact is unequipped ("1" means equipped).
    The second line has "d-", it tells we will reduce amount from the current value.
    Very simple.
    Now we only need to show text, when hero finds the artifact on the map, and equips it. This is done easily:

    !#VRz429:S^{GnollKing's Shield}

    When equipped, this Shield gives +2 bonus to all primary skills.^;
    !#HT5/163:T429;


    The first line saves the text to variable "429", and the second line adds it to 5=Artifact, 163=Artifact number. (Btw, when text is written in the middle of "{" and "}", the text turns to golden. Not a WoG feature, works with all versions).
    This text is shown, when hero right-clicks the artifact on his inventory.

    Not hard at all, right? So, the whole code is here:


    ZVSE
    !?OB5/163; Artifact 163
    !!UN:Ov998/v999/v1000;
    !!UN:Iv998/v999/v1000/5/163;
    !!ARv998/v999/v1000:M^{GnollKing's Shield}

    When equipped, this Shield gives +2 bonus to all primary skills.^; Show text when equipped
    !?AE1&v998=163; Equip Artifact 163
    !!HE-1:Fd2/d2/d2/d2; Increase all primary skills by +2
    !?AE0&v998=163; Unequip Artifact 163
    !!HE-1:Fd-2/d-2/d-2/d-2; Decrease all primary skills by -2
    !#VRz429:S^{GnollKing's Shield}

    When equipped, this Shield gives +2 bonus to all primary skills.^;
    !#HT5/163:T429; Show text when right-clicked




    To use this script, place it to a timed event on your map, and set day to about 500 or more (so it will never occur).
    If you're planning to do many new artifacts on your map, change the variable (429) to something different to all artifacts, and do not Wogify the map. :)
  • TA的每日心情
    无聊
    昨天 19:16
  • 签到天数: 2605 天

    连续签到: 31 天

    [LV.Master]伴坛终老

    1万

    回帖

    22万

    金币

    0

    精华

    白银会员

    Rank: 5Rank: 5

    积分
    97356

    魅力之星

    QQ
    发表于 2011-10-15 23:08:04 | 显示全部楼层
    云大,是给老外在上课吗?
    呵呵,开个玩笑
    该会员没有填写今日想说内容.
  • TA的每日心情
    慵懒
    2019-8-17 09:46
  • 签到天数: 1158 天

    连续签到: 2 天

    [LV.10]圣龙

    2万

    回帖

    91万

    金币

    7

    精华

    论坛嘉宾

    守望论坛的稻草人

    Rank: 9Rank: 9Rank: 9

    积分
    87641

    社区QQ达人论坛守望者金牌裁判杰出贡献魅力之星TE联赛冠军

    发表于 2011-10-15 23:10:31 | 显示全部楼层
    See the title I thought it was advertising

    该用户从未签到

    267

    回帖

    1万

    金币

    0

    精华

    4级 Famous Hero

    Rank: 4

    积分
    1681
    发表于 2011-10-16 00:07:06 | 显示全部楼层
    看不懂啊看不懂!
  • TA的每日心情
    无聊
    昨天 19:16
  • 签到天数: 2605 天

    连续签到: 31 天

    [LV.Master]伴坛终老

    1万

    回帖

    22万

    金币

    0

    精华

    白银会员

    Rank: 5Rank: 5

    积分
    97356

    魅力之星

    QQ
    发表于 2011-11-1 21:25:54 | 显示全部楼层
    这个ERM教程很简单明了!

    哈,其实,咱们论坛上那些也很明了

    可能只是因为这个例子很简单
    该会员没有填写今日想说内容.

    该用户从未签到

    68

    回帖

    6020

    金币

    0

    精华

    2级 Adventuring Hero

    Rank: 2

    积分
    418
    发表于 2011-11-29 19:14:05 | 显示全部楼层

    。。这版,开始说中国语言了

    ahome_bigavatar:guest
    ahome_bigavatar:welcomelogin
    您需要登录后才可以回帖 登录 | 英雄注册|Register

    本版积分规则

    捐赠
    关注我们,英3Mod一网打尽!

    WoG中文站 ( 辽B2-20210485-10 )|辽公网安备 21128202000228 号

    GMT+8, 2024-11-16 12:53 , Processed in 0.571748 second(s), 12 queries , Gzip On, File On.

    Powered by Discuz! X3.4

    Copyright © 2004-2022, Beijing Second Sight Technology Co., LTD.

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