Epic Fight Script Extension
Mod Overview
Epic Fight Script Extension is an enhanced version of the popular EpicFightMod that adds CNPC support and advanced scripting capabilities. This mod is designed for experienced users who want to customize gameplay according to their preferences.
Key Features
The mod provides compatibility with CNPC by fixing the OnlyClient annotation, as standard mixin methods proved ineffective. A custom scripting skill system has also been implemented, working exclusively on the ECMA engine.

Technical Changes
The following balance adjustments have been made:
- Player stamina reduced from 15 to 14 units
- Entity weight changed from (base max health)2 to fixed 40 units
- Maximum strikes increased from 1 to 5
Program Code
public void setStunReductionOnHit() {
//this.stunTimeReduction += Math.max((1.0F - this.stunTimeReduction) 0.8F, 0.5F);
this.stunTimeReduction += Math.max((1.0F - this.stunTimeReduction) * 0.8F, 0.3F);
this.stunTimeReduction = Math.min(1.0F, this.stunTimeReduction);
}
Script Usage
Scripts are executed through configuration files at the path: \TkkGameLib\plugin\xxx.js
Video demonstration of mod capabilities:
Technical Requirements
Java 8 and CNPC mod are required for proper operation.
Frequently Asked Questions
Question: Why are there no script skills?
Answer: Skills require independent configuration, and scripts need to be written to provide the player with corresponding abilities.
Question: Where to find script examples?
Answer: Examples are available only in simplified Chinese.