RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[VXA] Damage Formula - Check if skill is learned

0 Members and 1 Guest are viewing this topic.

***
Rep:
Level 81
Hey Community,
I want to make a skill, whose damage is augmented, when another skill is learned by the user.
Something like this,

Code: [Select]
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

*
*crack*
Rep:
Level 64
2012 Best Newbie2012 Most Unsung MemberFor frequently finding and reporting spam and spam bots
Code: [Select]
$game_actors[1].skill_learn?(8) # <= Does Ralph Know Fire Breath?
$game_actors[1].skill_learn?(8) ? 1000 : 200
All of my scripts are totally free to use for commercial use. You don't need to ask me for permission. I'm too lazy to update every single script post I ever made with this addendum. So ignore whatever "rule" I posted there. :)

All scripts can be found at: https://pastebin.com/u/diamondandplatinum3

***
Rep:
Level 81
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.
Code: [Select]
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.