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:
def skill_effect(user, skill)
Expand to see the code.

And add before it:
alias fomar_skill_effect skill_effect
Expand to see the code.

And then find the line:
tbr = super(user, skill)
Expand to see the code.

And change it to:
tbr = fomar_skill_effect(user, skill)
Expand to see the code.

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.
Ha I saw the request forum for this, hopefully you'll be updating your CBS soon as well ^_^
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").
[QUOTE=Atemu;270771]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").[/QUOTE]

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.
Nah, it needs to be in the help description. :<
You made a typo in a section of your 'magic edit'. Typos in scripts are bad. Very bad.

Quote:
lias fomar_skill_effect skill_effect


Should be:
alias fomar_skill_effect skill_effect
[QUOTE=gratheo;293862]You made a typo in a section of your 'magic edit'. Typos in scripts are bad. Very bad.



Should be:
alias fomar_skill_effect skill_effect[/QUOTE]

Thanks for spotting that.
Fomar, what's going on with this? Are you going to update it at all?

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=27793