Advertisement
dsiver144

Yami Equip Skill Script Call

May 20th, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. #===============================================================================
  2. # Yami Equip Skill Script Call
  3. # dsiver144
  4. # force_equip_skill(actor_id, skill_id, slot_id)
  5. # ex: force_equip_skill(1,218,0) #Force equip skill #218 for actor #1 at first slot #0
  6. #===============================================================================
  7. class Game_Interpreter
  8. #--------------------------------------------------------------------------
  9. # * new method: force_equip_skill
  10. #--------------------------------------------------------------------------
  11. def force_equip_skill(actor_id, skill_id, slot_id=0)
  12. $game_actors[actor_id].equip_skill(slot_id, skill_id)
  13. end
  14. end # Game_Interpreter
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement