[eLib]Kenata's Skill Library 0.5.2

This is a library of special abilities which can be applied to weapons, items, creatures, and units. This was created to be part of HeavenFall's Artifacts mod, but I would also like the rest of the mod community to feel free to use the library for their purposes as well. I only request that due credit be given when used.

List of New Abilities:

Troop Buffs:

Rally_Attack
Rally_Defense
Rally_Assault
AllOutAssault
Mark_Attack
Mark_Defense
Mark_Strike
Mend_Unit
Mend_Group

Troop Debuffs:

Intimidate_Defend
Intimidate_Attack
Frighten
Intimidate_Defend_Group
Intimidate_Attack_Group

Melee Attacks:

BypassingStrike
QuickStrike
PowerStrike
ArmorRipper
Hamstring
BatterDefenses
BlindsideAttacker
Stun
KickBack
PrepareAttack
PreparePowerAttack
PrepareDefense
PrepareHeavyDefense
TakeAim
PrepareDodge

Ranged Attacks:

RootingShot
PinningShot
ForceBackAttack
PinDown
PoisonShot
BleedingShot
WildShot
LuckyShot

Instructions:

To use the library, simply unpack the zip file found here, and place the contained folder in the directory with your mod. Once this is done, you can simply reference the skills by Internal name.

Special Thanks:

Impinc - debugging

Change Log:

0.5.2 - Fixed a bug with all out assault (thanks HeavenFall)

0.5.1 - Fixed some bugs ( thank Impinc)

0.5 - Initial release

41,448 views 9 replies
Reply #2 Top

Woot! Time to make artifact 2.0!

Reply #3 Top

Has anyone tested the % on ChanceToLoseNextTurn? I was under the impression that it's always 100%.

Reply #4 Top

Heavenfall, it works in the spell xml. I haven't tested it anywhere else, though.

Reply #5 Top

How do you mean? Do you mean that you actually get a %-result in-game that isn't 100%?

Reply #6 Top

Yeah, I've used it in a couple places, at 25% and 75%. I haven't actually done a test to see if they work exactly 25 and 75% of the time, but they seem to be about right- one works more often than the other, and niether work every time.

Reply #7 Top

Freaking Sweet!  Thanks for publishing this as a lib.  :thumbsup:

Reply #8 Top

Kenata, this lib produces an error in the debug.err file. I haven't tested the skill, but it may be worth checking in to.

The error:

Debug Message:  WARNING: Spell All Out Assault has no target type, but has city or unit target modifiers.  Need to specify a spell target type to know which types of units or cities are valid targets

Reply #9 Top

I will check it out thanks.

edit: I took a look at this, and the problem is an s. The target type should have been allfriendlyunits but I wrote allfriendlyunit which is wrong. Posting an update now.