|
Changing the damage calculation
|
|
| Author | Message |
AmpereJoule ![]() Journeyman ![]() Posts: 59 Likes Given: 7 Likes Received: 0 in 0 posts Joined: Dec 2012 Reputation: 0 |
|
||
| 09-12-2013 12:19 PM |
|
Alaric ![]() Journeyman ![]() Posts: 227 Likes Given: 7 Likes Received: 9 in 4 posts Joined: Oct 2012 Reputation: 7 |
|
||
| 09-12-2013 06:06 PM |
|
darksun84 ![]() Sir Spamalot ![]() ![]() ![]() ![]() Posts: 1,687 Likes Given: 245 Likes Received: 162 in 151 posts Joined: Mar 2012 Reputation: 35 |
|
||
| 09-12-2013 08:28 PM |
|
Alaric ![]() Journeyman ![]() Posts: 227 Likes Given: 7 Likes Received: 9 in 4 posts Joined: Oct 2012 Reputation: 7 |
|
||
| 09-12-2013 09:39 PM |
|
AmpereJoule ![]() Journeyman ![]() Posts: 59 Likes Given: 7 Likes Received: 0 in 0 posts Joined: Dec 2012 Reputation: 0 |
|
||
| 09-12-2013 09:51 PM |
|
darksun84 ![]() Sir Spamalot ![]() ![]() ![]() ![]() Posts: 1,687 Likes Given: 245 Likes Received: 162 in 151 posts Joined: Mar 2012 Reputation: 35 |
|
||
| 09-12-2013 10:47 PM |
|
Alaric ![]() Journeyman ![]() Posts: 227 Likes Given: 7 Likes Received: 9 in 4 posts Joined: Oct 2012 Reputation: 7 |
|
||
| 09-12-2013 10:52 PM |
|
AmpereJoule ![]() Journeyman ![]() Posts: 59 Likes Given: 7 Likes Received: 0 in 0 posts Joined: Dec 2012 Reputation: 0 |
|
||
| 09-12-2013 11:06 PM |
|
Extreme ![]() Grandmaster Poster ![]() ![]() ![]() Posts: 1,141 Likes Given: 217 Likes Received: 90 in 77 posts Joined: May 2012 Reputation: 20 SphereCommunity ![]() |
|
||
| 09-13-2013 02:37 AM |
|
RanXerox ![]() Master ![]() ![]() Posts: 550 Likes Given: 1 Likes Received: 12 in 9 posts Joined: Dec 2010 Reputation: 19 |
|
||
| 09-13-2013 02:53 AM |
|
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)

Home
Forum
Downloads
SphereWiki
Search
Discord Channel
Facebook
Twitter






![[+]](images/collapse_collapsed.gif)

I guess you'll have to rescript it in player and npc triggers(gethit, hit..)? But I'm not sure, it's pretty complicated that way. Actually the calculation already works as you say... received damage = rand<damage dealt - enemies armor> (told me darksun once
). But the magic damage should go through the triggers again and then you must block the damage, calculate the one you want(reduced by armor) and damage the enemy with that.



