Hi there. I'm not sure where I should post this.... Oh well.... xD
It's just a (hopefully) simple request, actually two.... I'm using TONS' equap skills, and now skill separation, also.
The first problem is that even if a skill is not equap, I mean, it's not in equap database, when I turn 'skill separation' ON it starts showing the AP as (0/0), which I think doesn't look nice. I would like to know how to hide that.
And second, I read somewhere on this forum (I tried searching for it, but wasn't sucessful >.>) how to hide the SP cost of a skill when it's 0. I did that, and worked fine until I turned the 'skill separation' ON. Then, it (the 0) started showing again =/ I just want to hide the zero.
Kind of silly.... I guess I could just turn the thing off, but I thought of asking first xD
Thanks in advance <3
In Tons a piece of code is overwritten a few times and that is the part to display the SP cost. You simply have to find Window_Skill#draw_item in Tons and change it everywhere so it doesn't draw the SP cost if it's 0.
I might have forgotten to remove the EQUAP AP when it's 0/0 in the other rewrites. I'll put it on my to-do list and fix it when I find some time.
Thank you <3 Thanks to your tip I started looking for the window_skill draw_item thing (Which was found and taken care of, by the way), and I acidently found this line
if aps > 0
text += " (#{@actor.ap(skill.id)}/#{aps})"
elsif DISPLAY_AP_ZERO
text += ' (0/0) '
end
I thought at first 'Noooo, it can't be that easy....'. But it worked, aparently xD I'm so happy!
I should start learning some ruby.....
But before write [RESOLVED] I just wanna ask....
I know it's just text, but are there any side effects to this change? If there aren't, you can cross that out your to-do list xD
Anyway, thanks again <3
Oh, lol! I just remembered that you have the DISPLAY_AP_ZERO option. xD I totally forgot about that one.
There shouldn't be any side effects, except that you might need to add the same edit/mod in other scripts that change the Window_Skill#draw_item method if you add such a script.
Cool <3 Thanks!
Nice. I've considered using EQUAPS myself, and was wondering if there was an easier way to do that. Thanks for the tip!
the easiest way to do that is to go into the configuration and say...
DISPLAY_AP_ZERO = true/false
Or were you asking for SP?