Skip to content

New Mage Program Update #243

Description

@ahumbert

Currently program 31 (added with #217) has variants for spell lists, based on "specialization" keywords added to the mob alias. There are several keywords that work in conjunction (as of #248) to set the mage combat spell lists like: "fmage", "lmage", "cmage", "dmage", "lumage", "defaultm"; the default is none. Additionally the "conj" keyword can be applied as a modifier to cast regen and curing when outside of combat, also confuse and poison during combat. Special modifier "shield" will be added with #234. As of #248, level restricted spells always add to the spell list. Cast chance is mob level + 20 (as of #248).

A goal of this program is to switch tactics if the caster keeps getting interrupted. An interrupt counter and timer variable have been added to char. As the caster gets interrupted the counter increments (max 3) and sets the timer to 10. Each mob_act deducts 1 from the timer. At the limit the caster will stop casting, attack physically, and may attempt a special ability. Once the mob leaves combat, the next mob_act will reset the counter and timer.

Currently, the only switch tactic phase special ability is "shield" (optional as of #244). During the phase, with at least 12 stam, and doesn't have shield applied: it has a 50% chance to disengage combat (like flash but without a message to prevent people from creating triggers that would make it all pointless) and then cast shield. Then it goes back to its regular activity cycle, which may cast heals before attacking.

Special abilities are mainly referring to spells that require an additional keyword and might have other rules around them. As mentioned, "shield" only works during the switch tact phase. Additionally, "terror" has been added (#248), where it has a 20% chance to be picked to cast, if the caster is under 25% health.

The idea of special abilities and the switch tactics phase is that once the casting interrupt limit is reached, we let the mob take a different approach, with the default being physical attacks. In case with "shield", it becomes more defensive by casting shield and relies on regular attacks to damage during the phase. This could grow into many different tactical approaches. Likely, certain spells like fear would be more of an optional special ability added later, than a regular spell in list. The majority of the spell system has been refactored to be available to other programs.

Updates:

  1. Its been asked to separate the shield "special" from the base prog itself. It will be moved to a separate modifier keyword for now. Resolves with: 4k: Update NewMageProg for Shield #244

  2. It's been asked to adjust the initial base spell lists and set a min level 40 check for highest spells. Resolves with: 4k: Update to New Mage Prog #234

  3. Terror has been added. Spells can also be better level restricted and added to list. Major refactor, way more dynamic and concise. Resolves with 4k- Refactor New Mage Prog #248

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions