[Help] Got Error on Kread-EX Cannibalism Script!

Hi there, me again. Sorry for bothering the Forum with that, but since I got no replies on the original site, I hope someone can help me here with that.

So, I want to use Kread-EX Cannibalism Script because I think it adds some funny gameplay parts to battles.

But I am facing an error and don't know how to fix this. 

This ist the Error I get: https://www.dropbox.com/s/6sawxt1kc9qsmv9/Screenshot%202014-12-11%2021.28.03.png?dl=0

and this is the line in the script that shows up when open the script editor: https://www.dropbox.com/s/t8wc83q2ksyb8d0/Screenshot%202014-12-11%2021.29.19.png?dl=0

I don't really know what to do here, I hope someone of you can. =/

Thanks for reading. =)
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.


Can you please post a link to the script?


Any chance you added the script then resumed a game you'd previously started and saved? That often causes errors like this. If you start a brand new game does it still happen?
Oh, sorry for posting in wrong thread. =(

The link to his script is here: https://grimoirecastle.wordpress.com/2011/12/25/cannibalism/

I started a brand new game and add only this script ... and it works, but I can not tell, if it works properly!

I forgot to tell, I use this script in another way as Kread-EX mentioned. The idea was, that the player character can eat the monsters to regenerate health or whatever.

I want to use it on monsters itself! so Monster A eats Monster B when on low health to regenerate. I use Yanfly Battle Engine + AddOn FTB.

On the brand new project there is the standard battle system where nothing is displayed e.g. how much damage I do to the monster, so I cant tell if the script works properly since I can not see how much 

HP Monster A get from Monster B and, this is Important, on next attack I kill Monster A even though it eats Monster B and should get 400 HP! this can not be right...

maybe it is not possible to use this script in this way, but I can't tell that.
But if it's calling that part of the script and it's not crashing ...
I add to the test project the yanfly battle scripts to see the actual numbers and enemy HP ... and Monster A kills Monster B but don't get any HP back, so... 

The script doesn't crash, but it does not do what I hoped it do...
okay, how stupid am I??? 

if I want that monsters eat each other, then I give them a skill with formula b.mhp or something and life drain -.- god dammit...

thread can be closed..

Original thread: https://forums.rpgmakerweb.com/threads/help-got-error-on-kread-ex-cannibalism-script.35752/