Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Holy Enchant Bug
#14
Testing this with the new flags. I'm not sure how to read this since it's a direct boolean comparison, but one of the two conditions is throwing false. This is with two holy daggers, hitting a Barghest with Dagger Dance.

Debug: 0
Debug: Attack - /obj/skill/fe_attack
Debug: attack_pow: wep_pw (17) increases Power to 130
Debug: Total Power for Electrified Shank / Electrified Shank was 158.
Debug: Basic Attack - Weapon Electrified Shank; 0
Debug: attack_pow: wep_pw (17) increases Power to 130
Debug: Total Power for Electrified Shank / Electrified Shank was 158.
Debug: Critical Multiplier for this attack is: 206.38%
Debug: Possessed Check: 0&&1 ( and Electrified Shank)
Debug: no_armor was in flags
Debug: magic was in flags
Debug: Possessed Check: 0&&1 ( and Electrified Shank)
Debug: no_armor was in flags
Debug: magic was in flags
Debug: Possessed Check: 0&&1 ( and Electrified Shank)
Debug: Dagger Dance: Electrified Shank & Electrified Shiv. Not the same weapon. W1 is_wpntype = 1. W2 is_wpntype = 1
Debug: 1&&1
Debug: Dagger Dance: Electrified Shank & Electrified Shiv. Not the same weapon. W1 is_wpntype = 1. W2 is_wpntype = 1
Debug: Basic Attack - Weapon Electrified Shiv; 0
Debug: attack_pow: wep_pw (17) increases Power to 130
Debug: Total Power for Electrified Shiv / Electrified Shiv was 160.
Debug: Critical Multiplier for this attack is: 206.38%
Debug: Possessed Check: 0&&1 ( and Electrified Shiv)
Debug: no_armor was in flags
Debug: magic was in flags
Debug: Possessed Check: 0&&1 ( and Electrified Shiv)
Debug: no_armor was in flags
Debug: magic was in flags
Debug: Possessed Check: 0&&1 ( and Electrified Shiv)

No extra damage is being thrown out. I did the same test against a Jammer, and got essentially the same results.

Debug: 0
Debug: Attack - /obj/skill/fe_attack
Debug: attack_pow: wep_pw (17) increases Power to 130
Debug: Total Power for Electrified Shank / Electrified Shank was 158.
Debug: Basic Attack - Weapon Electrified Shank; 0
Debug: attack_pow: wep_pw (17) increases Power to 130
Debug: Total Power for Electrified Shank / Electrified Shank was 158.
Debug: Critical Multiplier for this attack is: 206.38%
Debug: Possessed Check: 0&&1 ( and Electrified Shank)
Debug: no_armor was in flags
Debug: magic was in flags
Debug: Possessed Check: 0&&1 ( and Electrified Shank)
Debug: no_armor was in flags
Debug: magic was in flags
Debug: Possessed Check: 0&&1 ( and Electrified Shank)
Debug: Dagger Dance: Electrified Shank & Electrified Shiv. Not the same weapon. W1 is_wpntype = 1. W2 is_wpntype = 1
Debug: 1&&1
Debug: Dagger Dance: Electrified Shank & Electrified Shiv. Not the same weapon. W1 is_wpntype = 1. W2 is_wpntype = 1
Debug: Basic Attack - Weapon Electrified Shiv; 0
Debug: attack_pow: wep_pw (17) increases Power to 130
Debug: Total Power for Electrified Shiv / Electrified Shiv was 160.
Debug: Critical Multiplier for this attack is: 206.38%
Debug: Possessed Check: 0&&1 ( and Electrified Shiv)
Debug: no_armor was in flags
Debug: magic was in flags
Debug: Possessed Check: 0&&1 ( and Electrified Shiv)
Debug: no_armor was in flags
Debug: magic was in flags
Debug: Possessed Check: 0&&1 ( and Electrified Shiv)

If I had to throw out a guess based on how identical they are, there's an issue with determining whether the target is possessed/undead?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)
Sigrogana Legend 2 Discord