Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Damage of NPC
Author Message
Jhobean
Journeyman
*

Posts: 98
Likes Given: 11
Likes Received: 8 in 3 posts
Joined: Jun 2019
Reputation: 2



Post: #1
Damage of NPC
We are in transition from 55i to 56d.

I'm surprise that on 56d the STR have no effect on the damage the NPC do. Only damage=x,x is effective.

EX:
I put STR=5000 on my npc and he do the same damage if he has 50.

It's normal or not?

Thx
11-12-2019 12:01 AM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #2
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
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Coruja's post
Jhobean
Journeyman
*

Posts: 98
Likes Given: 11
Likes Received: 8 in 3 posts
Joined: Jun 2019
Reputation: 2



Post: #3
RE: Damage of NPC
A better respond than I expected! Thx for all these explainations

https://www.uocryptonite.com/
(This post was last modified: 11-15-2019 09:32 PM by Jhobean.)
11-15-2019 09:26 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)