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

[转载发布] POG_FetishArcana: Finally! Bow that consumes arrows!

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    开心
    4 天前
  • 签到天数: 209 天

    连续签到: 2 天

    [LV.7]常住居民III

    4600

    主题

    864

    回帖

    2万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

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

    灌水之王

    发表于 4 天前 | 显示全部楼层 |阅读模式


    License: Free for personal or commercial use.

    Context: The magic in RPG MAKER is always associated with the cost of MANA. This is because in most JRPGS doing magic is always a matter of whether or not it has some kind of energy. Games that are based on ritual spells where the caster needs the right ingredients, rarely usually require more than just MANA from the caster. They need ingredients and magical reagents that are consumed during the magic ritual.

    Description: This script gives the developer the possibility to require certain items from the player and in certain quantities so that he can cast the spell (ability). In the same way, it can cause an item to be used only in conjunction with another, and finally it can cause a weapon to be used only in battle if the player has a specific item (such as a bow and arrow).



    How to use this script:

    (1) The developer can define that a skill can only be used by consuming a specific quantity of a specific item. For example: It could be defined that the “Heal I” (Sarar I) ability can only be cast if the player has 2 units of the item “Medicinal Root” (raiz Medicinal) .
    Spoiler: Images

    (2) A second feature for this script is that an item can only be consumed if the player has a second item (which may or may not be consumed). Example: An item called “Medicinal Elixir” (Elixir Medicinal) can only be consumed if the player has a second item called “Medicinal Root”(Raiz Medicinal)  which in turn is not consumed.


    Spoiler: Image

    (3) The third feature of this script means that a weapon can only attack if the player has a certain amount of a specific item. For example: A weapon called "Shortbow" (Arco Curto) can only attack if the player has one or more items called "wooden arrow" (Flecha). In this example, each bow attack consumes an Arrow.

    Spoiler: Image

    Consequence of (3): if the player is using a weapon that requires a certain amount of a specific item and the player does not have that item in the required amount, he simply CANNOT ATTACK!

    IMPORTANT!
    The effect of this script works on the following “objects” in the Database: Skills; Items; Weapons;​



    To make a  Skill / Item / Weapon only possible if the player has a certain amount of a specific item, it is necessary to use a TAG in the “Note” field of the respective Skill / Item / Weapon (in the RPG Database MAKER MZ ). The TAG to be used is as follows:

    <consome:itemId,qtd>

    Where:

    • itemId = refers to the item number (index).
    • qtd = refers to the item quantity to be consumed. If qty is 0 the item is not consumed.
    Example: In the “Annotation” field of the “Short Arc” weapon, the following TAG is inserted:

    <consome:34,1>

    This means that to use the bow the player must have at least 1 unit of the number item (index) 34.


    Extra Function:

    From version v.04 of 06-10-2020, when a character runs out of items to use the weapon he is wielding, he automatically equips another weapon (if he has another one).


    Demo Example: A Monster appears near the camp!
    Spoiler: Image

    Our group of adventurers is made up of two heroines: an elf archer and a human Mage.

    Spoiler: Images





    The archer has only 2 arrows in the inventory. The short bow that Elfa is using is a weapon that is configured to consume 1 unit of the item “Arrow” (ID = 3) as specified in the tag:


    <consome:3,1>

    Spoiler: Image



    After using all the arrows in the battle she will have to abandon the bow and wield the short sword to continue fighting!
    Spoiler: Images






    Our Mage (Maga) in turn can use her magic power to face the monster! She can use the "Fire I" magic. Note that she can only use this spell 3 times! That's because to do the magic she needs to use 3 units of Magic Oil!

    Spoiler: Images






    The “Fogo I” (Fire I) spell is configured on the base data to consume 3 units of item 2 (Magic Oil), as specified in the tag:

    <consome:2,3>

    Spoiler: Images


    Combat begins! The Elf will attack with her bow while the Mage chooses to use the "Fire I" spell. Note that the Elf can attack twice with her bow and the Mage can use her magic 3 times!

    Spoiler: Images














    Ao final da primeira rodada de combate, restam no inventário apenas 1 flecha e 7 óleos mágico!




    To find out how this fight ends, download   this plugin demo!


    When the Elf runs out of arrow to use the bow, she automatically equips the short sword! In these circumstances a message is displayed informing the player of the weapon change.

    Spoiler: Images




    In the plugin settings it is possible to change the term “equipped” to one of your own (useful for games that are not in the Portuguese-Brazilian language).
    Spoiler: Images






    本贴来自国际rpgmaker官方论坛作者:Logica处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/pog_fetisharcana-finally-bow-that-consumes-arrows.128384/

    本帖子中包含更多资源

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

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

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-7-16 15:51 , Processed in 0.119544 second(s), 55 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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