Save-Point
Combine two scripts - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Games Development (https://www.save-point.org/forum-4.html)
+--- Forum: Code Support (https://www.save-point.org/forum-20.html)
+--- Thread: Combine two scripts (/thread-914.html)



Combine two scripts - Kerdukie - 12-25-2009

Hey guys! :)
(Sheesh, me again, huh?^^")

I have a problem with two scripts I'd like to use in my project.
But I think, that they'll not really like each other! xD"

I'm talking about the "Tywin_Masters" and "Yanfly Engine RD - Display Victory Aftermath" scripts.

Everytime the battle ends an error occurs! :|
It's probably because the "Victory Aftermath" can't add or display the bonus stats that I'll get from a master after leveling up.

Code:
---------------------------
Project
---------------------------
Script 'Tywin_Masters' line 577: NoMethodError occurred.

undefined method `+' for nil:NilClass
---------------------------
OK  
---------------------------

Maybe someone can fix that problem?
Would be really nice if you could! :)

Here are the two scripts:
Victory Aftermath
Masters
(The master system is'nt really easy, so here's a demo: Demo Masters)

TIA,
Kerdukie

Oh, and merry christmas to all of you! :)

[Edit]
Okay, everything is fixed now! :)
Please close, if someone reads this! xD