Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Forget Skill Attacks

Forget Skill Attacks
Version: 1.0


Introduction
What an awkward title but it's better than "Forget Skill Skills" well slightly, and that what this script does it allows/shows you how to make being hit by skills cause you to forget your skills *gasp* but don't worry you'll remember for no reason as soon as the battle ends. Also I thought I'd steal Trickster's layout

Screenshots
Not needed, it doesn't change anything visually.

Demo
http://www.savefile.com/files/1021696

Script
Aswell as stealing his layout I thought I'd try Trickster's stance on families.

Instructions
It's a pretty simple script well atleast the parts you need to edit and there are examples to help but if you do need help just post with your question.

Compatibility
The only scripts I could possibly see a conflict with is a couple of mine where I add a method called skill_effect to game_actor but you can resolve this with this magical edit (I hope).
Find:
Code:
def skill_effect(user, skill)
And add before it:
Code:
alias fomar_skill_effect skill_effect
And then find the line:
Code:
tbr = super(user, skill)
And change it to:
Code:
tbr = fomar_skill_effect(user, skill)
And hopefully that will fix it...hopefully

FAQ
(well suspected questions)
Q:I can't open the demo
A:Somebody has a family!

Q:Can you post the script?
A:Blame families

Q:Which of your scripts does this conflict with?
A:One or two, I don't know without checking, I'd check if it did rather than ask me as there is a 3*PI/10 chance I will ignore any post asking me to check.

Credits and Thanks

Atemu for requesting such an interesting script, I can't remember the last time I was scripting something fun and interesting, normally these days it's merges if I do any scripting.

Author's Notes

Enjoy, and for your information I spent more time typing up this topic than I did writing the script.
 
I have to thank you for filling my request, but it's not exactly like I requested. o.<

What I needed was to be able to still see the skill once it was forgotten, only it would be grayed out, unusable, and have it's help information replaced with something different (IE, if two Fire spells have different help text "Fire attack" and "Large fire attack", both would be replaced with "I can't remember").
 
Atemu;270771 said:
I have to thank you for filling my request, but it's not exactly like I requested. o.<

What I needed was to be able to still see the skill once it was forgotten, only it would be grayed out, unusable, and have it's help information replaced with something different (IE, if two Fire spells have different help text "Fire attack" and "Large fire attack", both would be replaced with "I can't remember").

Can I replace both names with "I forgot" or something because if so that will be an easy edit if not I can think of a way but it would take longer.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top