r425 (experimental change) needs testing
Posted: Thu Mar 11, 2010 1:17 pm
I've added some code that should help with the use of skills that require certain buffs/debuffs. Right now, this revision only contains code for KNIGHT_PUNISHMENT. Now, whenever there are 3 Light Seals on the enemy target, it will use Punishment properly.
This can be expanded to all skills by modifying database/skills.xml. Add these attributes to a skill description:
Where:
This can be expanded to all skills by modifying database/skills.xml. Add these attributes to a skill description:
Code: Select all
reqbufftype="debuff" reqbuffcount="3" reqbufftarget="target" reqbuffname="Light Seal III"
- *reqbufftype is either "buff" or "debuff"
*reqbuffcount is a value above 1 (the required number of stacks to use)
*reqbufftarget is "player" (for player buffs/debuffs) or "target" (for target buffs/debuffs)
*reqbuffname is the name of the buff/debuff (ie. "Light Seal III")