#416 Missing "Focus Damage" type

Closed
opened 2 years ago by neatz09 · 6 comments
neatz09 commented 2 years ago

see title

see title
image commented 1 year ago
Collaborator

isn't clear what focus damage you are talking about.. are we talking about spells or melee? These are implemented and all add damage one way or another: #define ITEM_STAT_POTENCY 659 //% Potency #define ITEM_STAT_SPELL_DAMAGE 700 #define ITEM_STAT_SPELL_AND_HEAL 702 #define ITEM_STAT_SPELL_AND_COMBAT_ART_DAMAGE 704 #define ITEM_STAT_TAUNT_AND_COMBAT_ART_DAMAGE 706 #define ITEM_STAT_ABILITY_MODIFIER 707

isn't clear what focus damage you are talking about.. are we talking about spells or melee? These are implemented and all add damage one way or another: #define ITEM_STAT_POTENCY 659 //% Potency #define ITEM_STAT_SPELL_DAMAGE 700 #define ITEM_STAT_SPELL_AND_HEAL 702 #define ITEM_STAT_SPELL_AND_COMBAT_ART_DAMAGE 704 #define ITEM_STAT_TAUNT_AND_COMBAT_ART_DAMAGE 706 #define ITEM_STAT_ABILITY_MODIFIER 707

Focus damage is a damage type that Daybreak uses that cannot be mitigated or resisted in any way.

Focus damage is a damage type that Daybreak uses that cannot be mitigated or resisted in any way.
image commented 1 year ago
Collaborator

does not exist as a damage type

(1678044017)[Sun Mar 05 14:20:17 2023] YOU try to slash a crustose defender, but miss. (1678044022)[Sun Mar 05 14:20:22 2023] YOU try to crush a crustose defender, but miss. (1678044024)[Sun Mar 05 14:20:24 2023] YOU try to pierce a crustose defender, but miss. (1678044027)[Sun Mar 05 14:20:27 2023] YOU try to burn a crustose defender, but miss. (1678044029)[Sun Mar 05 14:20:29 2023] YOU try to freeze a crustose defender, but miss. (1678044030)[Sun Mar 05 14:20:30 2023] YOU try to zap a crustose defender, but miss. (1678044032)[Sun Mar 05 14:20:32 2023] YOU try to confound a crustose defender, but miss. (1678044034)[Sun Mar 05 14:20:34 2023] YOU try to smite a crustose defender, but miss. (1678044036)[Sun Mar 05 14:20:36 2023] YOU try to disease a crustose defender, but miss. (1678044038)[Sun Mar 05 14:20:38 2023] YOU try to poison a crustose defender, but miss. (1678044040)[Sun Mar 05 14:20:40 2023] YOU try to drown a crustose defender, but miss. (1678044042)[Sun Mar 05 14:20:42 2023] YOU try to drop a crustose defender, but miss. (1678044044)[Sun Mar 05 14:20:44 2023] YOU try to hurt a crustose defender, but miss. (1678044046)[Sun Mar 05 14:20:46 2023] YOU try to hit a crustose defender, but miss.

#define DAMAGE_PACKET_DAMAGE_TYPE_SLASH 0 #define DAMAGE_PACKET_DAMAGE_TYPE_CRUSH 1 #define DAMAGE_PACKET_DAMAGE_TYPE_PIERCE 2 #define DAMAGE_PACKET_DAMAGE_TYPE_HEAT 3 #define DAMAGE_PACKET_DAMAGE_TYPE_COLD 4 #define DAMAGE_PACKET_DAMAGE_TYPE_MAGIC 5 #define DAMAGE_PACKET_DAMAGE_TYPE_MENTAL 6 #define DAMAGE_PACKET_DAMAGE_TYPE_DIVINE 7 #define DAMAGE_PACKET_DAMAGE_TYPE_DISEASE 8 #define DAMAGE_PACKET_DAMAGE_TYPE_POISON 9 #define DAMAGE_PACKET_DAMAGE_TYPE_DROWN 10 #define DAMAGE_PACKET_DAMAGE_TYPE_FALLING 11 #define DAMAGE_PACKET_DAMAGE_TYPE_PAIN 12

go beyond "pain/hurt" then it becomes just "hit"

does not exist as a damage type (1678044017)[Sun Mar 05 14:20:17 2023] YOU try to slash a crustose defender, but miss. (1678044022)[Sun Mar 05 14:20:22 2023] YOU try to crush a crustose defender, but miss. (1678044024)[Sun Mar 05 14:20:24 2023] YOU try to pierce a crustose defender, but miss. (1678044027)[Sun Mar 05 14:20:27 2023] YOU try to burn a crustose defender, but miss. (1678044029)[Sun Mar 05 14:20:29 2023] YOU try to freeze a crustose defender, but miss. (1678044030)[Sun Mar 05 14:20:30 2023] YOU try to zap a crustose defender, but miss. (1678044032)[Sun Mar 05 14:20:32 2023] YOU try to confound a crustose defender, but miss. (1678044034)[Sun Mar 05 14:20:34 2023] YOU try to smite a crustose defender, but miss. (1678044036)[Sun Mar 05 14:20:36 2023] YOU try to disease a crustose defender, but miss. (1678044038)[Sun Mar 05 14:20:38 2023] YOU try to poison a crustose defender, but miss. (1678044040)[Sun Mar 05 14:20:40 2023] YOU try to drown a crustose defender, but miss. (1678044042)[Sun Mar 05 14:20:42 2023] YOU try to drop a crustose defender, but miss. (1678044044)[Sun Mar 05 14:20:44 2023] YOU try to hurt a crustose defender, but miss. (1678044046)[Sun Mar 05 14:20:46 2023] YOU try to hit a crustose defender, but miss. #define DAMAGE_PACKET_DAMAGE_TYPE_SLASH 0 #define DAMAGE_PACKET_DAMAGE_TYPE_CRUSH 1 #define DAMAGE_PACKET_DAMAGE_TYPE_PIERCE 2 #define DAMAGE_PACKET_DAMAGE_TYPE_HEAT 3 #define DAMAGE_PACKET_DAMAGE_TYPE_COLD 4 #define DAMAGE_PACKET_DAMAGE_TYPE_MAGIC 5 #define DAMAGE_PACKET_DAMAGE_TYPE_MENTAL 6 #define DAMAGE_PACKET_DAMAGE_TYPE_DIVINE 7 #define DAMAGE_PACKET_DAMAGE_TYPE_DISEASE 8 #define DAMAGE_PACKET_DAMAGE_TYPE_POISON 9 #define DAMAGE_PACKET_DAMAGE_TYPE_DROWN 10 #define DAMAGE_PACKET_DAMAGE_TYPE_FALLING 11 #define DAMAGE_PACKET_DAMAGE_TYPE_PAIN 12 go beyond "pain/hurt" then it becomes just "hit"
image commented 1 year ago
Collaborator

here is the equivalent damage type outputs with actual damage:

(1678044437)[Sun Mar 05 14:27:17 2023] YOU hit a crustose defender for 1 slashing damage.
(1678044438)[Sun Mar 05 14:27:18 2023] YOU hit a crustose defender for 1 crushing damage.
(1678044440)[Sun Mar 05 14:27:20 2023] YOU hit a crustose defender for 1 piercing damage.
(1678044442)[Sun Mar 05 14:27:22 2023] YOU hit a crustose defender for 1 heat damage.
(1678044443)[Sun Mar 05 14:27:23 2023] YOU hit a crustose defender for 1 cold damage.
(1678044445)[Sun Mar 05 14:27:25 2023] YOU hit a crustose defender for 1 magic damage.
(1678044447)[Sun Mar 05 14:27:27 2023] YOU hit a crustose defender for 1 mental damage.
(1678044449)[Sun Mar 05 14:27:29 2023] YOU hit a crustose defender for 1 divine damage.
(1678044450)[Sun Mar 05 14:27:30 2023] YOU hit a crustose defender for 1 disease damage.
(1678044452)[Sun Mar 05 14:27:32 2023] YOU hit a crustose defender for 1 poison damage.
(1678044455)[Sun Mar 05 14:27:35 2023] YOU hit a crustose defender for 1 drowning damage.
(1678044457)[Sun Mar 05 14:27:37 2023] YOU hit a crustose defender for 1 falling damage.
(1678044458)[Sun Mar 05 14:27:38 2023] YOU hit a crustose defender for 1 pain and suffering damage.
(1678044461)[Sun Mar 05 14:27:41 2023] YOU hit a crustose defender for 1 melee damage.
here is the equivalent damage type outputs with actual damage: ``` (1678044437)[Sun Mar 05 14:27:17 2023] YOU hit a crustose defender for 1 slashing damage. (1678044438)[Sun Mar 05 14:27:18 2023] YOU hit a crustose defender for 1 crushing damage. (1678044440)[Sun Mar 05 14:27:20 2023] YOU hit a crustose defender for 1 piercing damage. (1678044442)[Sun Mar 05 14:27:22 2023] YOU hit a crustose defender for 1 heat damage. (1678044443)[Sun Mar 05 14:27:23 2023] YOU hit a crustose defender for 1 cold damage. (1678044445)[Sun Mar 05 14:27:25 2023] YOU hit a crustose defender for 1 magic damage. (1678044447)[Sun Mar 05 14:27:27 2023] YOU hit a crustose defender for 1 mental damage. (1678044449)[Sun Mar 05 14:27:29 2023] YOU hit a crustose defender for 1 divine damage. (1678044450)[Sun Mar 05 14:27:30 2023] YOU hit a crustose defender for 1 disease damage. (1678044452)[Sun Mar 05 14:27:32 2023] YOU hit a crustose defender for 1 poison damage. (1678044455)[Sun Mar 05 14:27:35 2023] YOU hit a crustose defender for 1 drowning damage. (1678044457)[Sun Mar 05 14:27:37 2023] YOU hit a crustose defender for 1 falling damage. (1678044458)[Sun Mar 05 14:27:38 2023] YOU hit a crustose defender for 1 pain and suffering damage. (1678044461)[Sun Mar 05 14:27:41 2023] YOU hit a crustose defender for 1 melee damage. ```
image reopened 1 year ago
image commented 1 year ago
Collaborator

found it, its a damage result type

#define DAMAGE_PACKET_RESULT_FOCUS 56

new /test command after update:

/test 27 192 56 0 1

found it, its a damage result type #define DAMAGE_PACKET_RESULT_FOCUS 56 new /test command after update: /test 27 192 56 0 1
image commented 1 year ago
Collaborator
DamageSpawn(NPC, Spawn, 192, 14, 100, 100)

Focus will use a damage type of 14, this will bypass any mitigation / damage reduction. 100/100 for min/max damage to always hit for 100.

``` DamageSpawn(NPC, Spawn, 192, 14, 100, 100) ``` Focus will use a damage type of 14, this will bypass any mitigation / damage reduction. 100/100 for min/max damage to always hit for 100.
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.