If you copy Window_MonsterInfo over to Window_PartyDetail, those
are 2 different function.
keep in mind, even if you change it Window_Monster to Window_PartyDetail,
rect will be undefined.
so you need to adjust more to make it readable and correctly.
Hi there!
Unfortunately this is not how it works. You cannot simply copy paste a plugin code into another and hope it works.
I suggest you start learning JavaScript first. A tons of free tutorials on internet
you also missing a point, 1 function like that doesn't show all!
it is called in serveral functions, so you need to find them all,
alternate them all, and place it, it need probably a few new functions
as well, as Eliaquim said, "you cannot simply copy paste code from one to another".
there is more behind the code if you cannot read JS though or understand how
it works.
If copying does not work at all, I would try to do it like this:
1. Create a list of all 6 Notetags of the actor.
2. draw the icons and skillnames.
It probably shouldn't be too complex.
My javascript guess is: Create an array of values of the notetags by looping through all of them.
get the $dataSkills matching the notetag values.
Somehow draw the Icons and strings of the 6 $dataSkills.
Somehow Refresh the window whenever the player hovers over another actor.
It would be awesome if any1 could help me with this. 🙂
A .call does not work here, because the Beastbook-Plugin is an IIFE and IIFE's are not accessible from outside.