chrislongden3
Member
When, in stotic mode, i heal my party members using cure spells and such, their limit gauge goes up. I know very little about RGSS scripting, but im pretty sure this piece of code needs to be changed
if self.is_a?(Game_Actor)
if self.limit_type == 1
self.limit += ((1.5*self.damage*self.damage)/self.maxhp)+100
end
end
Logically, i think putting an "If" condition or whatever you would call it around the 3rd line in the above example to check that the skill power is over 0 would solve my problem, but i have no idea how to do this. Can anyone help?
if self.is_a?(Game_Actor)
if self.limit_type == 1
self.limit += ((1.5*self.damage*self.damage)/self.maxhp)+100
end
end
Logically, i think putting an "If" condition or whatever you would call it around the 3rd line in the above example to check that the skill power is over 0 would solve my problem, but i have no idea how to do this. Can anyone help?