KEquipSkills XP
KEquipSkills XPVersion 1.2.1
by Kyonides
Introduction
It's a scriptlet that allows you to equip skills aka temporarily learn a skill if a piece of equipment like a weapon or an accessory is currently equipped.
There was another scriptlet out there but it sucked
for it used an iterator when I noticed it gotta be simpler. And yes, I was right about that! Take a look for yourselves!
Instructions
Ruby:
# * KEquipSkills XP
# Scripter : Kyonides Arkanthes
# v1.2.1 - 2023-06-13
# - Use Items, Weapons or Armors to learn Skills! - #
# In order to add new skills whenever you equip a new Weapon or Armor or Item,
# You need to configure a couple of CONSTANTS.
# EQUIP_CHECKS_LEARNING lists Actors that will begin with the :checks method.
# ITEM_CHECKS_LEARNING lists Actors that will begin with the :checks method.
# The rest of the Actors will use the :direct method, learning a single skill
# from the Weapon or Armor or Item.
# - If any BEHAVIOR for a given Actor is set to :direct
# DIRECT_WEAPONS =
# DIRECT_ARMORS =
# DIRECT_ITEMS =
# The default value is [], an empty Array.
# - If any BEHAVIOR for a given Actor is set to :checks
# CHECK_WEAPONS = { :skill => ,
# :class => , :actor => }
# CHECK_ARMORS = { :skill => ,
# :class => , :actor => }
# CHECK_ITEMS = { :skill => ,
# :class => , :actor => }
# 0 as an ID allows any class or actor to equip the skill!
# * Script Calls * #
# - Change a given Actor's Item or Equip Check Type
# Available Types: :direct or :checks
# game_actors.item_check_type = Type
# game_actors.equip_check_type = Type
module KEquipSkills
EQUIP_CHECKS_LEARNING = []
ITEM_CHECKS_LEARNING =
DIRECT_WEAPONS = {}
DIRECT_ARMORS = {}
DIRECT_ITEMS = {}
CHECK_WEAPONS = {}
CHECK_ARMORS = {}
CHECK_ITEMS = {}
# * Beginning of Customization * #
DIRECT_ARMORS =
CHECK_ARMORS = { :skill => , :class => [], :actor => }
CHECK_ITEMS = { :skill => , :class => }
DOWNLOAD DEMO
Terms & Conditions
Free for use in any game.
Include my nickname in your game credits.
Mention this forum as well.
Give me a free copy of your completed game if you include at least 2 of my scripts!
本贴来自国际rpgmaker官方论坛作者:kyonides处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/kequipskills-xp.125173/
页:
[1]