04-22-2013, 01:13 PM
Hello,
The Win_Skill class is meant to add compatibility with COCA's battle scripts.
Window_Skill contains the following edited out:
#if skill != nil and not $combo_skill.include?(skill.id)
# @data.push(skill)
#end
#fine ccoa
I assumed this would leave behind the skills that are not combos and allow them to be selected in the standard magic menu - I'm not sure why these are edited out - I am quite unfamiliar with certain elements of this script...
In terms of the draw_item method from what I could see it was purely based on drawing items on the combo window and not the standard skills window...
- if this is wrong I could add a line to try and subtract the SP values... The script is correctly removing SP Skills which are combos but I have no idea which part is doing that... are you able to identify this and if so would it be simply a matter of adding a line to remove the SP values too?
Any more tips would be appreciated - as always thanks for your help.
The Win_Skill class is meant to add compatibility with COCA's battle scripts.
Window_Skill contains the following edited out:
#if skill != nil and not $combo_skill.include?(skill.id)
# @data.push(skill)
#end
#fine ccoa
I assumed this would leave behind the skills that are not combos and allow them to be selected in the standard magic menu - I'm not sure why these are edited out - I am quite unfamiliar with certain elements of this script...
In terms of the draw_item method from what I could see it was purely based on drawing items on the combo window and not the standard skills window...
Code:
def draw_item(index)
skill = @data[index]
for i in 0...$combo_skill.size
if $combo_skill[i] != nil
if $combo_skill[i] == skill.id
n = i
end
- if this is wrong I could add a line to try and subtract the SP values... The script is correctly removing SP Skills which are combos but I have no idea which part is doing that... are you able to identify this and if so would it be simply a matter of adding a line to remove the SP values too?
Any more tips would be appreciated - as always thanks for your help.