=begin #============================================================================== ** Effect: TP Charge Author: Hime Date: Oct 17, 2012 ------------------------------------------------------------------------------ ** Change log Oct 17, 2012 - initial release ------------------------------------------------------------------------------ ** Terms of Use * Free to use in non-commercial projects * Contact me for commercial use * No real support. The script is provided as-is * Will do bug fixes, but no compatibility patches * Features may be requested but no guarantees, especially if it is non-trivial * Preserve this header ------------------------------------------------------------------------------ ** Required -Effect Manager (http://himeworks.com/2012/10/05/effects-manager) ------------------------------------------------------------------------------ Drains all TP after usage. You should specify TP in the damage formula. Damage dealt based on TP is based on TP after skill cost is reduced. Tag your skill/item with #============================================================================== =end $imported = {} if $imported.nil? $imported["Effect_TPCharge"] = true #============================================================================== # ** Rest of the script #============================================================================== module Effects module TP_Charge Effect_Manager.register_effect(:tp_charge, 1.5) end end class Game_Battler < Game_BattlerBase def item_effect_tp_charge(user, item, effect) user.tp = 0 end end