45 lines
1.2 KiB
TypeScript
45 lines
1.2 KiB
TypeScript
/**
|
|
* Diablo II: Lord of Destruction v1.13c — Skill #096: Sacrifice (PAL)
|
|
*
|
|
* Authoritative 1.13c Ground Truth (`Patch_D2.mpq` -> `data\\global\\excel\\Skills.txt`):
|
|
* - Skill ID: 96 ("Sacrifice")
|
|
* - Class: "pal"
|
|
* - Required Level: 1
|
|
* - Server Functions: srvstfunc=29, srvdofunc=64, srvprgfunc1=0, srvprgfunc2=0, srvprgfunc3=0
|
|
* - Associated Missile / State / Summon: missile="", state="", summon=""
|
|
* - 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: 96,
|
|
name: "Sacrifice",
|
|
charClass: "pal",
|
|
srvStFunc: 29,
|
|
srvDoFunc: 64,
|
|
|
|
evaluate(ctx: SkillEvalContext): SkillEvalResult {
|
|
return evaluateSkillCore113c(ctx)
|
|
},
|
|
|
|
executeDo(ctx: SkillExecContext): SkillExecOutcome {
|
|
const outcome = executeSkillCore113c(ctx)
|
|
return {
|
|
...outcome,
|
|
notes: [
|
|
...outcome.notes,
|
|
'skill_module:skill-096-sacrifice',
|
|
],
|
|
}
|
|
},
|
|
}
|
|
|
|
export default skillModule
|