Coruja 
Sphere Developer
    
Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7
Dimension Shard
![]()
|
RE: Damage of NPC
NPC damage calculation doesn't use any bonus, so it will use weapon damage (if there's any weapon) otherwise it will use chardef DAM=min,max value. There's no STR bonus, DAMINCREASE bonus, nor any other bonus from CombatDamageEra .ini setting
It works in this way to match OSI charts, where if an NPC X have DAM=10,20 you just need to set DAM=10,20 on scripts and it will cause the expected DAM=10,20 without need to worry about nothing increasing this value to 30, which should not happen
PS¹: note that this is only valid for ~damage~ calculation. After calculate the damage, it will hit the target and the target will apply parry chance formula, armor resist formula, etc
PS²: you can easily customize these combat formulas using scripts (eg: apply custom STR bonus on damage using an event to change ARGN1 on @Hit trigger, etc)
https://wiki.spherecommunity.net/index.php?title=@Hit
(This post was last modified: 11-16-2019 04:15 AM by Coruja.)
|
|
11-15-2019 02:10 PM |
|
The following 1 user Likes Coruja's post:1 user Likes Coruja's post
Jhobean (11-16-2019)
|
Jhobean 
Journeyman

Posts: 98
Likes Given: 11
Likes Received: 9 in 3 posts
Joined: Jun 2019
Reputation: 2
![]()
|
|
11-15-2019 09:26 PM |
|
|