设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
扫描二维码关注官方公众号
返回列表
+ 发新帖
查看: 111|回复: 0

[转载发布] Enchant System - Based on Vlue's W/A Randomizer script - v1.5 (22/02/20

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    开心
    2026-7-12 04:10
  • 签到天数: 209 天

    连续签到: 2 天

    [LV.7]常住居民III

    9071

    主题

    864

    回帖

    6万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    VIP
    7
    卡币
    58883
    OK点
    16
    推广点
    0
    同能卷
    50
    积分
    68848

    灌水之王

    发表于 2026-8-2 09:23:15 | 显示全部楼层 |阅读模式
    Code:       
    1. #===============================================================================
    2. # * [ACE] Enchant System - Information
    3. #===============================================================================
    4. # * Made by: Sixth (www.rpgmakervxace.net, www.forums.rpgmakerweb.com)
    5. # * Version: 1.5
    6. # * Updated: 22/02/2015
    7. # * Requires: Vlue's W/A Randomizer script
    8. #             Sixth's Custom Feature Extension for Vlue's Randomizer
    9. #-------------------------------------------------------------------------------
    10. # * < Change Log >
    11. #-------------------------------------------------------------------------------
    12. # * Version 1.0 (25/12/2014)
    13. #   - Initial release.
    14. # * Version 1.1 (26/12/2014)
    15. #   - Fixed the help window's Y position settings, it should work now.
    16. #   - Fixed sound effects. Two sound effects were playing before sometimes.
    17. #   - While I was there, added some sound effect options for you to configure.
    18. #   - Reworked the item selection window. It now shows the enchant price of the
    19. #     item too and the name of the item got a bit more space to display.
    20. #   - Added background boxes for the item, prefix and suffix window.
    21. #     Each item/prefix/suffix will have their own little background boxes
    22. #     displayed behind them. A bit easier on the eye like this, I guess.
    23. # * Version 1.2 (26/12/2014)
    24. #   - Turns out, I used an outdated version of Vlue's Randomizer (v.1.6.7a).
    25. #     I updated this script to work with the new version (v.1.7)!
    26. #     If you are using an older version of Vlue's script, you will need to update
    27. #     his script too for this script to work!
    28. # * Version 1.3 (04/01/2015)
    29. #   - Added item requirements for the enchants. One item can be allocated to be
    30. #     required for each enchant. This makes it possible to use scrolls for the
    31. #     enchants, for example. If the player lacks the required item, the enchant
    32. #     can not be selected from the list.
    33. #   - Added success chance for items and enchants. Fully configurable, of course.
    34. #   - Default hidden affix list settings added for the random enchant feature.
    35. #   - Added separate settings for the random enchant and no enchant commands.
    36. #     Now you can have different settings for prefix and suffix for these.
    37. # * Version 1.4 (10/02/2015)
    38. #   - Minor performance fixes.
    39. #   - Formatted some settings and their descriptions to be easier to read,
    40. #     understand and edit them.
    41. #   - Separated the settings from the main script. Settings are further
    42. #     separated into two parts: enchant settings and other settings.
    43. #     This is to give the mouse scroll a little break.
    44. #   - Added optional text options which appear before and after all enchant
    45. #     names on the enchant scene.
    46. #   - Added a script call to generate a prefix/suffix list by defining excluded
    47. #     affix IDs, which will get deleted from the default prefix/suffix list.
    48. #     The resulted list can be used in the enchant scene script call afterwards.
    49. #   - Added a script call to set the available item categories on the enchant
    50. #     scene. Now you can make enchanter NPCs where the player could enchant only
    51. #     weapons and armors, or only regular items, etc.
    52. #   - Made the enchant scene skip not valid affix IDs from the prefix and suffix
    53. #     list automatically. This will prevent crashes from typos when calling the
    54. #     enchant scene, for example, but you will still get a crash as soon as you
    55. #     start the game if you made an enchant info with a non-existent affix setup
    56. #     in Vlue's script, so make sure that that won't happen!
    57. #   - Released a demo, wow! Should have do this long time ago, sorry!
    58. #     Excuse the color setups for most of the enchants, I kinda got tired of
    59. #     setting them up after a few dozens, so I ended up copy/pasting them,
    60. #     which resulted in a lot of purple colors!
    61. # * Version 1.5 (22/02/2015)
    62. #   - Fixed a crash issue.
    63. #-------------------------------------------------------------------------------
    64. # * < Description >
    65. #-------------------------------------------------------------------------------
    66. # * This script will let you make a complete enchant system in your game.
    67. # * On the enchant scene, the player can select the item to be enchanted, and
    68. #   the prefix and suffix to be added onto the item.
    69. #   Upon confirming the enchant, the item will be enchanted with the selected
    70. #   affixes.
    71. # * Enchanting should not be free, of course, right?
    72. #   You can define the enchanting fee for each item and affix separately.
    73. #   The enchant fee for the item and the enchant fee for the affixes will be
    74. #   added together and the result will make the final fee.
    75. #   The player must have the final fee to initiate the enchanting process.
    76. # * If simple gold requirements aren't enough, you can define item requirements
    77. #   for the enchants too!
    78. # * Configurable success chance for each enchant and even for each item!
    79. # * Boost success chance for items dynamically for each enchant scene!
    80. #   Maybe an armorer can add enchants on armors easily, but on weapons or potions,
    81. #   he might as well suck, right?
    82. # * But what if the player feels lucky enough to roll random affixes on the item?
    83. #   Fret not, because this is possible too with this system, yay!
    84. #   And you can do even more! Add hidden affixes to the random pool, so you can
    85. #   hide certain affixes from the player! These hidden affixes will not be
    86. #   available for selection, but getting them is possible with selecting the
    87. #   random option!
    88. # * And if I want to skip prefix and do suffix only, or vice verse?
    89. #   Well, what if I told you that that's not a problem either? Cool!
    90. # * Ability to hide items from the list!
    91. #   I certainly wouldn't let the player enchant a storyline weapon, for example.
    92. # * Ability to hide item categories from the list!
    93. #   Make enchanter NPCs where the player can enchant weapons only or items only!
    94. # * Ability to dynamically make different enchant scenes with simple script calls!
    95. #   Let your cities get unique enchant shops with different available affixes!
    96. # * Lotsa settings for you to set up!
    97. #   Define command names, icons, colors, prices, types, categories, descriptions,
    98. #   item requirements and success chance for each affixes!
    99. #   And a lot of settings for the visuals of the menu too!
    100. #-------------------------------------------------------------------------------
    101. # * < Instructions >
    102. #-------------------------------------------------------------------------------
    103. # * Refer to the script's header for the script's setup and usage info!
    104. #-------------------------------------------------------------------------------
    105. # * < Installation >
    106. #-------------------------------------------------------------------------------
    107. # * In the script editor, place the Enchant System scripts below
    108. #   Vlue's W/A Randomizer but above Main.
    109. #-------------------------------------------------------------------------------
    110. # * < Compatibility Info >
    111. #-------------------------------------------------------------------------------
    112. # * No known incompatibilities.
    113. #-------------------------------------------------------------------------------
    114. # * < Known Issues >
    115. #-------------------------------------------------------------------------------
    116. # * No known issues.
    117. #-------------------------------------------------------------------------------
    118. # * < Terms of Use >
    119. #-------------------------------------------------------------------------------
    120. # * Free to use for whatever purposes you want.
    121. # * Credit me (Sixth) in your game, pretty please!
    122. # * Posting modified versions of this script is allowed as long as you notice me
    123. #   about it with a link to it!
    124. #===============================================================================
    复制代码


    - Screenshots:
    Spoiler








                PS: I should have configured the icons properly before presenting some screenshots, right? Ohh, well...  





    ATTENTION!
        This script is NOT plug-and-play! Heavy configuration is needed for the enchant information!
        Refer to the script's header for the script's setup and usage info!

    - Script:
    SpoilerThe new version has been split into 4 parts due to the excessive length of the configuration settings.
                To avoid any issues, put them in this order in the script editor:
    Spoiler: ES - Info and Manual
    [/quote]
    Spoiler: ES - General Settings[quote]
    Spoiler: ES - Enchant Settings
    [/quote]
    Spoiler: ES - Main Script[quote]





    - Requirements:
        For the Enchant System, you will need the newest version of Vlue's W/A Randomizer script (v1.7) and my Custom Feature Extension for Vlue's W/A Randomizer script.
        Place the extension script below Vlue's W/A Randomizer script!

    - Demo:
        ~ No freaking way! The demo arrived!

        I have wrongly configured the TP item effect affixes. Instead of using float numbers for the amount of TP recovered, you will need to use integers.
        Meaning: Not 0.1, but 10 for 10%, not 0.5, but 50 for 50%, and so on.
        Sorry about these, will update the demo later!
        Linky: http://www.mediafire.com/download/8gs08c71cc4qzn5/Enchant+System_v_1_5.rar

    - FAQ:
        ~ Q: I am getting NoMethod errors! Why?
        ~ A: You must set up your affixes properly in Vlue's script first.
        After that, you must set up your enchants properly in this script.
        All affixes and enchants used in the Enchant System must be configured before you can start to play-test your game or else you will get that error!

    - Author's Notes:
        The demo contains custom scripts not made by me!
        I included them to increase the performance of the game.
        All of these scripts retain their original terms of use!

        I highly recommend Mithran's Text Cache script to be used with my Enchant System, because it can get a bit laggy when there are a lot of items/prefixes/suffixes displayed on the enchant scene. The Text Cache script speeds text drawing up, so it will significantly help while drawing long lists!

        The demo and the uploaded enchant settings include a few affix setups which require Yanfly's Convert Damage script! There are 6 of them and they can be found at the bottom of the affix/enchant list. Make sure to remove those if you are not using the required script for them!

        That's all for now folks! *-*


    本贴来自国际rpgmaker官方论坛作者:Sixth处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/enchant-system-based-on-vlues-w-a-randomizer-script-v1-5-22-02-2015.35260/

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有账号?立即注册

    x
    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

    文明发言,和谐互动
    文明发言,和谐互动
    高级模式
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    简体中文
    繁體中文
    English(英语)
    日本語(日语)
    Deutsch(德语)
    Русский язык(俄语)
    بالعربية(阿拉伯语)
    Türkçe(土耳其语)
    Português(葡萄牙语)
    ภาษาไทย(泰国语)
    한어(朝鲜语/韩语)
    Français(法语)
    关闭

    幸运抽奖

    社区每日抽奖来袭,快来试试你是欧皇还是非酋~

    立即查看

    聊天机器人
    Loading...

    QQ|Archiver|手机版|小黑屋|同能RPG制作大师 ( 沪ICP备12027754号-3 )

    GMT+8, 2026-8-17 12:43 , Processed in 0.139795 second(s), 53 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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