45 lines
1.2 KiB
TypeScript
45 lines
1.2 KiB
TypeScript
/**
|
|
* Diablo II: Lord of Destruction v1.13c — Skill #231: Cycle of Life (DRU)
|
|
*
|
|
* Authoritative 1.13c Ground Truth (`Patch_D2.mpq` -> `data\\global\\excel\\Skills.txt`):
|
|
* - Skill ID: 231 ("Cycle of Life")
|
|
* - Class: "dru"
|
|
* - Required Level: 12
|
|
* - Server Functions: srvstfunc=0, srvdofunc=115, srvprgfunc1=0, srvprgfunc2=0, srvprgfunc3=0
|
|
* - Associated Missile / State / Summon: missile="", state="vine_beast", summon="cycleoflife"
|
|
* - 1.13c Synergy Formulas: EDmgSymPerCalc="", DmgSymPerCalc="", ELenSymPerCalc=""
|
|
*/
|
|
import type {
|
|
SkillEvalContext,
|
|
SkillEvalResult,
|
|
SkillExecContext,
|
|
SkillExecOutcome,
|
|
SkillModule,
|
|
} from '../../types.ts'
|
|
import { evaluateSkillCore113c, executeSkillCore113c } from '../../registry.ts'
|
|
|
|
export const skillModule: SkillModule = {
|
|
skillId: 231,
|
|
name: "Cycle of Life",
|
|
charClass: "dru",
|
|
srvStFunc: 0,
|
|
srvDoFunc: 115,
|
|
|
|
evaluate(ctx: SkillEvalContext): SkillEvalResult {
|
|
return evaluateSkillCore113c(ctx)
|
|
},
|
|
|
|
executeDo(ctx: SkillExecContext): SkillExecOutcome {
|
|
const outcome = executeSkillCore113c(ctx)
|
|
return {
|
|
...outcome,
|
|
notes: [
|
|
...outcome.notes,
|
|
'skill_module:skill-231-cycle-of-life',
|
|
],
|
|
}
|
|
},
|
|
}
|
|
|
|
export default skillModule
|