Hey Community,
I want to make a skill, whose damage is augmented, when another skill is learned by the user.
Something like this,
a.weapons.include?($data_weapons[1]) ? 1000 : 200
but I don't want to check if a weapon is equipped, but if a particular skill is learned.
Sincerely
$game_actors[1].skill_learn?(8) # <= Does Ralph Know Fire Breath?
$game_actors[1].skill_learn?(8) ? 1000 : 200
Hmm, can't get it to work.
I tried putting it directly into the formula box and and I tried making a new function like this one.
class Game_Battler < Game_BattlerBase
def augmented_spell()
if $game_actors[1].skill_learn?(8);777;else;101;end;
end
end
Didn't work either way.