KItemTeachSkill XP
by Kyonides
by Kyonides
Introduction
This script will let you teach a Skill to a Hero by consuming an Item!
There are a couple of caveats to keep in mind.
If the item has the FAILURE_ELEM_ID included in its Element Set, the Hero won't learn the Skill!
Or might learn some USELESS_SKILLS instead.
It is also possible to get a Predefined Item as a Byproduct!
You can limit the number of Heroes that can learn that specific Skill, too.
Add a Skill to SKILL_FOR_ACTORS Constant
Ruby:
# - Learn the Skill - For Everybody!
# [ItemID1] = [SkillID1]
# - Learn the Skill Depending on 1 or more ActorID's
# [ItemID2] = [SkillID2. nil, nil, ActorID1, etc.]
# - Learn the Skill, Earn an Item, Depending on 1 or more ActorID's
# [ItemID3] = [SkillID3, :item, ItemID1, ActorID1, etc.]
# - Learn the Skill, Check a State, Depending on 1 or more ActorID's
# [ItemID4] = [SkillID4, :state, StateID1, ActorID1, etc.]
Terms & Conditions
Free for use in any game as long as you don't mess with this badass! 😛
Due credit is mandatory.
Tell the blue squirrel and the raven haired elf that there's no more coffee left at the stores. 😛
That's it! 😀