[b31] Fateful Aura chances

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
lukep
Sher'Tul Godslayer
Posts: 1712
Joined: Mon Mar 14, 2011 10:32 am
Location: Canada

[b31] Fateful Aura chances

#1 Post by lukep »

Vengeful Blessings (probably the rest too) trigger based on the chance for Cursed Touch, Grim Craft never triggers.

Testing Vengeful Blessings with voratun waraxes on a debug character (1 point in each of the skills), 85/100 had at least one Vengeful Blessing boost, far above the expected 36 that level one should give. In fact, it is very near the expected amount for the negative curses (87). After boosting the first skill to level 6, the rate of Vengeful Blessings fell as well (12/26).

Code: Select all

affectedPercent = t.getAffectedPercent(self, t)
seems to be calling cursed touch, not Vengeful Blessings. Probably affects the other three skills as well.

Grim Craft never triggered, from 100 Voratun Plate, 100 Voratun Mail, 100 drakeskin leather, and 100 elven silk robes.

Code: Select all

if item.type == "armor" and (sub_type == "cloth" or sub_type == "light" or sub_type == "heavy" or sub_type == "medium" or sub_type == "massive") then
seems to be breaking it, as removing everything between "armor" and "then" lets it work on armour (also on other items).
Some of my tools for helping make talents:
Melee Talent Creator
Annotated Talent Code (incomplete)

Dervis
Wyrmic
Posts: 263
Joined: Thu Oct 14, 2010 9:58 am

Re: [b31] Fateful Aura chances

#2 Post by Dervis »

Code: Select all

if item.type == "armor" and (sub_type == "cloth" or sub_type == "light" or sub_type == "heavy" or sub_type == "medium" or sub_type == "massive") then
Maybe that should be item.sub_type.

lukep
Sher'Tul Godslayer
Posts: 1712
Joined: Mon Mar 14, 2011 10:32 am
Location: Canada

Re: [b31] Fateful Aura chances

#3 Post by lukep »

Dervis wrote:Maybe that should be item.sub_type.
Aha, that's what I was missing. It should be item.subtype (not sub_type). Tested, and it works.
Some of my tools for helping make talents:
Melee Talent Creator
Annotated Talent Code (incomplete)

Post Reply