Heya Maskoi,
reading the needs of people about possible ways to setup spells in KA and the conditions checked for it.... I got an idea.
Cant we make a generic sub within Kissassist and a generic section in the ini, which allows for multiple conditions being checked, given what a user sets up?
Example of idea:
Multispell1=<SpellName>|target-tag [Me;Mob;Pet]|Condition-Tag1 [MeHealth;MobHealth;MobCount;Pethealth;etc]|<>=|% for condition1|Condition-Tag2|<>=|% for condition2|NotActiveConditionTag1|Name of Spell;AA;Disc to not be active|Type of NAC[Song,Buff,Disc]|NACTag2|Name of NAC2|Type of NAC2
On startup of KA a sub could sort out all the optional conditional checks for each spell in that section and create the correct syntax to go behind a /if and assign these syntax to a variable.
After that all KA needs to do is send the spell to castwhat when basically the condition of the new variable is met.
Even could allow a |Phasetag [Combat;Cooldown;Rest;DPS;BURN;AE]|
A ini entry could look like this
Rich (BB code):
GenSpell=Crystane's Shield|Me|DPS|MyH|<|50|MobCnt|>=|5|NACTag1|Crystane's Disc|Song
with
Me=Target to cast the spell on
DPS=Handle the spell as if being in DPS section
MyH=My Health
MobCnt=Count of npc-hostiles within AE-Range
NACTag1=Tag to indicate there is a condition to be avoided for that spell to be cast.
Crystane's Disc=Fictive name of a song which should not be on in the song window
Song=Indication where to look for the condition, which should not be active(should make it easier to sort/create the correct if condition)
Crystane:
PS: I know it can be done, just I lack the time and its alot of work and I dunno your resources.