Rohan Darksbane
Member
Continuing to work at my project... I found this which I could really use to flesh out one of the characters.
and
What I was wondering is if anyone could point out how to make it only affect certain actors, instead of just all of them. I've tried it myself, but despite the fact it looks like it'd be easy to do, I'm no scripter and it looks like the proper way to do it has escaped me.
If anyone sees a way to do this, I'd love the assistance.
Thanks in advance. :]
begin
SDK.log('Attack goes up with Level', 'sandgolem', 1, '6.07.06')
rescue
end
class Game_Actor < Game_Battler
alias sandgolem_atklvl_actor_baseatk base_atk
def base_atk
return sandgolem_atklvl_actor_baseatk + @level
end
end
and
begin
SDK.log('Defense goes up with Level', 'sandgolem', 1, '6.07.06')
rescue
end
class Game_Actor < Game_Battler
alias sandgolem_deflvl_actor_basepdef base_pdef
def base_pdef
return sandgolem_deflvl_actor_basepdef + @level
end
end
What I was wondering is if anyone could point out how to make it only affect certain actors, instead of just all of them. I've tried it myself, but despite the fact it looks like it'd be easy to do, I'm no scripter and it looks like the proper way to do it has escaped me.
If anyone sees a way to do this, I'd love the assistance.
Thanks in advance. :]