- Joined
- Jul 4, 2015
- Messages
- 26
- Reaction score
- 4
- Primarily Uses
Hi. This is my first script/snippet.
Filename: Hamedo.js
Script Name: Hamedo: Improve Counter Attack System
Version: 1.00
Author: 1224Deko
This script/snippet overrides function BattleManager.invokeAction and counter mechanism by default, so be carefull.
What it does:
- Change default Evade and Counter to Counter-Attack system.
- Adds 5 state types of counter attack:
Default Counter-Attack: countering after taking damage: added for priority, example if you want nullifies all countering system just put that state on target enemy/battler.
First Strike: Countering before taking damages, so if enemy dies battler no recive damage
Forestall: Countering before taking damage, and taking damages only if counter attack was evaded or dmg =< 0.
Double Strike: First Strike plus second counter attack(if previous wasn't lethal of course).
Evade and Counter: Evade and Counter like without this snippet
In Plugin setup you can also find:
CounterEvenDeath: countering even if damage(s) was lethal, should work now but it isn't finished yet.
Multi States: It is a WIP system. So it do nothing yet. But in future i'm planning making a multiple countering system, so i.e. if actor will have CounterEvenDeath and Double Strike states. It will countering 2 times even if it takes lethal damage before second countering.
Counter Same Skill: Don't know if i can make it work ever. Must testing how work countering magics and skills by default.
This is my first meet with js, so i migh did a few mistakes. If you saw something strange please report it.
Any ideas, how to improve counter system?
Script:
http://pastebin.com/CMa9bqMJ
Terms of uses: Free for both non commercial and commercial uses. But for commercial uses please credit me.
Filename: Hamedo.js
Script Name: Hamedo: Improve Counter Attack System
Version: 1.00
Author: 1224Deko
This script/snippet overrides function BattleManager.invokeAction and counter mechanism by default, so be carefull.
What it does:
- Change default Evade and Counter to Counter-Attack system.
- Adds 5 state types of counter attack:
Default Counter-Attack: countering after taking damage: added for priority, example if you want nullifies all countering system just put that state on target enemy/battler.
First Strike: Countering before taking damages, so if enemy dies battler no recive damage
Forestall: Countering before taking damage, and taking damages only if counter attack was evaded or dmg =< 0.
Double Strike: First Strike plus second counter attack(if previous wasn't lethal of course).
Evade and Counter: Evade and Counter like without this snippet
In Plugin setup you can also find:
CounterEvenDeath: countering even if damage(s) was lethal, should work now but it isn't finished yet.
Multi States: It is a WIP system. So it do nothing yet. But in future i'm planning making a multiple countering system, so i.e. if actor will have CounterEvenDeath and Double Strike states. It will countering 2 times even if it takes lethal damage before second countering.
Counter Same Skill: Don't know if i can make it work ever. Must testing how work countering magics and skills by default.
This is my first meet with js, so i migh did a few mistakes. If you saw something strange please report it.
Any ideas, how to improve counter system?
Script:
http://pastebin.com/CMa9bqMJ
Terms of uses: Free for both non commercial and commercial uses. But for commercial uses please credit me.
Last edited by a moderator:

