Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ==============================================================================
- # ▼▼▼▼▼▼ TroyZ - Critical Skills Mods ▼▼▼▼▼▼
- # ==============================================================================
- # Script by : Agung Prasetyo(TroyZ)
- # Contact me by : - Email agung.endisnear.xyz@gmail.com
- # - Forum RPGMakerID, username TroyZ
- # - Handphone 085756289121
- # Engine : VXAce
- # Level : Easy
- # Version : 1.0
- # ------------------------------------------------------------------------------
- # Change Logs :
- # 17 June 2013 : Version 1.0 released
- # ------------------------------------------------------------------------------
- # How this work :
- # This little script will give you an ability to create skills that always
- # lands critical hits.
- # ------------------------------------------------------------------------------
- # How to use :
- # Place it between material and main. Put this notetag :
- # <always critical>
- # Inside skills that you want to always lands critical hits.
- # ------------------------------------------------------------------------------
- # Compatibility issues :
- # I haven't get any compatibility issues actually. This script requires :
- # - TheoAllen - Core Damage Result Version 1.0
- # http://pastebin.com/raw.php?i=8S5ZC73V
- # That requirement must be put above this script.
- # ------------------------------------------------------------------------------
- # Who to credit :
- # - Allah swt. : For the chance of living that he has given to me.
- # - Nabi Muhammad saw. : As a leader and messenger and prophet of Muslim.
- # I'm proud to be your follower. :)
- # - Theo Allen : He gave me the challenge to created this script, and his Core
- # Damage Processing helped me a lot. Thanks to him. :)
- # - Agung Prasetyo(TroyZ) : Thats me, of course, the ones that made this script. :P
- # ------------------------------------------------------------------------------
- # License :
- # - Free Game : Just credit those three first names above. My name in the credit?
- # If you pleased, but if don't, no problem, this was just a simple script actually.
- # - Commercial Game : Same as free game's license.
- # ------------------------------------------------------------------------------
- $imported = {} if $imported.nil?
- $imported[:TroyZ_CriticalSkillsMods] = true
- class RPG::Skill < RPG::UsableItem
- def always_critical?
- self.note.include?("<always critical>")
- end
- end
- class Game_Battler < Game_BattlerBase
- alias agung_theo_determine_critical determine_critical
- def determine_critical(user, item)
- agung_theo_determine_critical(user, item)
- @result.critical = true if item.always_critical?
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement