Skip to content
Snippets Groups Projects
Forked from tome / Tales of MajEyal
Source project has a limited visibility.
user avatar
Hachem_Muche authored
Updated callObjectTalent function to be more flexible and ensure talent functions are called with appropriate scope.
Updated tactical function for use_talent powers to ensure the tactical functions are called with the correct scope.

Added .never_fail flag (and support to Actor:preUseTalent) to actor object use talents to prevent failure to use objects when confused, etc.
Added support for on_pre_use_ai function

Updated game:logVisible to correctly identify projectiles (which get a .__is_projectile flag)

Enabled automatic use of object activation talents (more development needed)

Tactical AI:
Fixed a bug causing NPC's to sometimes not use cure/heal abilities effectively
tactical table functions are called with (self, t, aitarget, tact)

Updated charm tactical tables to account for possible resource recovery,
Updated definitions for several boss artifacts for NPC use: Wintertide (also fixed bug causing permanent ice walls), Crystal Shard,
Choker of Dread (fixed bug causing summon to not taunt foes), Rod of Annulment, Psionic Fury.

Talents:
Dark Tendrils: updated target table for AI use
Illumination: updated target and tactical tables so that NPC's will use it above level 3.
Fire Breath: added disable to tactical table.
Chain Lightning: updated target table for AI use
Disperse Magic: expanded tactical table to allow for both offensive and defensive use.
Tidal Wave: updated target table to allow AI use
Shattering Blow: corrected tactical table
Inertial Shot: updated on_pre_use function to check for enough ammo (temporary pending more general fix of archery talents)
***Note unrelated AI error with archery talents being used without ammo

Sunder Armor/Arms effects: added gain/lose messages
a87e5ca6
History
Name Last commit Last update
..