After a long time I finally managed to learn a bit lua and create my first addon.
Its a Blood Knight class.
http://te4.org/games/addons/tome/bloodknight
The core mechanic of the class is bleeding damage. You get stronger when you bleed and you enemies get weaker when they bleed. The class is desighed with big 2h weapons in mind.
I created 6 new talent trees:
Generic:
Lifeblood - Damage coverted to bleeding, defence stats increase on bleed, additional bleed damage, life leech on bleed.
Class:
Bloodfloow - Utility skills: rush, vision, heal, detrimental effect removal
Carnage - hard hitting (or cutting) damage skills
Blodomination (from level 6) - various powerful skills useful for the build
Crimson (locked from level 10)- killing enemies or eventually taking damage creates a crimson fog which buffs the player in various ways and debuffs the mobs.
Bloodfury (locked, from level 10) - like the Rampage tree but with a bloody twist
I was learning lua while writing this addon so its far from perfect and a few errors might have slipped by me. The lore part of the class is also lackluster.
The class has two main stats: str and con, antimagic is a very valid option here, but conditioning is also a possibility (especially with the bleed damage reduction passive). The class should be quite powerful, a few nerfs here and there will not be avoided.
Hooks used:
Code: Select all
"ToME:load"
"DamageProjector:final"
"Combat:attackTargetWith"
"Actor:actBase:Effects"
"Actor:move"
"Actor:takeHit"
Code: Select all
timed_effects/physical.lua
mod/class/Actor.lua
mod/class/Player.lua
mod/class/interface/Combat.lua
During the work on this addon i have let myself be "inspired" by the addon work of Doctornull, HousePet and of course DarkGod:)
I hope you will enjoy playing this class. I will add the addon to the te4.org site when possible.
Blood Knight version 4.0 changelog:
- Fixed Overblood triggering
- Fixed Sacrificial Air Bug
- Removed Conditioning talent tree (was to OP)
- Added Mobility talent tree (locked, 0.8 modifier)
- Added Thuggery talent tree (locked, 0.8 modifier)
- Bleeding pain changed from sustain to passive
- Blood Feed changed from sustain to passive
- Dusty Veins changed from sustain to passive
- Crippling Wound changed from sustain to passive
- Overblood sustain cost increased
Cheers:)