I realize an actual hardcap isn't the intent but it's how the current system works out, never seen myself do over 49, not sure I've even seen 49. I can see the merit in diminishing returns, but more magic should always mean more damage, even if going from 90 to 100 yields less than going from 30 to 40
The skills you love and the skills you don't
- yayswords
- Elder Druid
- Posts: 1436
- Joined: Sat Jan 25, 2014 5:34 am
Re: The skills you love and the skills you hate
Yes but if you set a practical hardcap on spell damage you will be setting one for monster health too or casters will be marginalized, and if you hardcap monster health you have to hardcap all physical damage too or warriors and thieves will see casters marginalized anyway, and if you hardcap everything then you have a boring game where you do the same damage as you did 3 hours ago 
I realize an actual hardcap isn't the intent but it's how the current system works out, never seen myself do over 49, not sure I've even seen 49. I can see the merit in diminishing returns, but more magic should always mean more damage, even if going from 90 to 100 yields less than going from 30 to 40
I realize an actual hardcap isn't the intent but it's how the current system works out, never seen myself do over 49, not sure I've even seen 49. I can see the merit in diminishing returns, but more magic should always mean more damage, even if going from 90 to 100 yields less than going from 30 to 40
If at first try it doesn't explode, it ain't Jack who wrote the code.
- jack1974
- Pack leader
- Posts: 15095
- Joined: Thu Jun 16, 2005 4:43 pm
Re: The skills you love and the skills you hate
Yes indeed I raised the percentage, and now works better. For example, caster magic 27, using Inferno:
target magic 24 = 27-35 (skelly archer)
target magic 31 = 19-24 (skelly mage)
target magic 50 = 10-13 (lol! this is Mormont though, so...)
now seems much better, there's more variety. I tried also in act 2, with a save that has a druid with magic 38 and does 67 dmg to a target magic 12
target magic 24 = 27-35 (skelly archer)
target magic 31 = 19-24 (skelly mage)
target magic 50 = 10-13 (lol! this is Mormont though, so...)
now seems much better, there's more variety. I tried also in act 2, with a save that has a druid with magic 38 and does 67 dmg to a target magic 12
- yayswords
- Elder Druid
- Posts: 1436
- Joined: Sat Jan 25, 2014 5:34 am
Re: The skills you love and the skills you hate
That does sound promising. When are we getting the next build? I can't make a druid without this change. It's against my religion.
If at first try it doesn't explode, it ain't Jack who wrote the code.
- jack1974
- Pack leader
- Posts: 15095
- Joined: Thu Jun 16, 2005 4:43 pm
Re: The skills you love and the skills you hate
Well I can upload one now, since fixes also the bug you found with Vaelis SP regen 
-
renke_
- Elder Druid
- Posts: 580
- Joined: Sat Feb 22, 2014 1:26 pm
Re: The skills you love and the skills you hate
you could fool around with log funtions, one near to your approach (smaller damage raise above 50) is dmg=dmg/log(dmg*30)*3
Code: Select all
10 -> 12
20 -> 21
30 -> 30
40 -> 39
50 -> 47
60 -> 55
70 -> 63
80 -> 71
90 -> 79
100 -> 86
- jack1974
- Pack leader
- Posts: 15095
- Joined: Thu Jun 16, 2005 4:43 pm
Re: The skills you love and the skills you hate
Yes that would work, will make some tests 
- yayswords
- Elder Druid
- Posts: 1436
- Joined: Sat Jan 25, 2014 5:34 am
Re: The skills you love and the skills you hate
I am decent at maths, but not at programming. I am seeing larger numbers now (<3), but I also have a feeling you just moved the cap from 49 to 70... did you? 
If at first try it doesn't explode, it ain't Jack who wrote the code.
- jack1974
- Pack leader
- Posts: 15095
- Joined: Thu Jun 16, 2005 4:43 pm
Re: The skills you love and the skills you hate
No I changed as I said, same formula as above but multiply by .3 instead of .1 which is a big difference.
Before 100 dmg = 49*(100*.1) = 59
Now 100 dmg = 49*(100*.3) = 79
anyway, since I'm manually coding the fights and with the limited grinding system I think that rarely the effective damage would go over 100. Is just a safeguard system
Before 100 dmg = 49*(100*.1) = 59
Now 100 dmg = 49*(100*.3) = 79
anyway, since I'm manually coding the fights and with the limited grinding system I think that rarely the effective damage would go over 100. Is just a safeguard system
- yayswords
- Elder Druid
- Posts: 1436
- Joined: Sat Jan 25, 2014 5:34 am
Re: The skills you love and the skills you hate
Okay, it's not a problem at present at least. Can you explain though why I get a damage range (like 40-60) when I nuke an enemy caster but a definite number when I nuke anything else?
Also, what determines the damage of Poisoned/Burning etc, I've seen some pretty damn generous damage from poison
In fact...
Compare the quite different (12 vs 17 is a big percentile difference) damage numbers from two very similar spiders. Wanna know what else is different between the screenshots? I took off a fair bit of Vaelis' gear (one piece even had poison resistance), in particular his magic score went down a lot because I had a hunch that... he takes MORE poison damage when he has all his gear and therefore higher magic.
Vaelis with almost no gear (+1 magic, no poison resistance): 11 per tick from a spider weaker than those two.
I don't mean to jump to any conclusions but don't you dare come back stat derivation! I don't know exactly what does it, +magic is just a guess, but for sure he takes more damage with his gear on than without it. I don't think poison resistance is bugged 'cause when I removed that gear only I lost 34% resistance and 3 magic, and now poison is ticking for 20. However my druid, with twice Vaelis' magic and slightly less poison resistance than a fully dressed Vaelis, takes 16. I don't know what to make of these observations anymore ^^
Also, what determines the damage of Poisoned/Burning etc, I've seen some pretty damn generous damage from poison
In fact...
Spoiler:
Vaelis with almost no gear (+1 magic, no poison resistance): 11 per tick from a spider weaker than those two.
I don't mean to jump to any conclusions but don't you dare come back stat derivation! I don't know exactly what does it, +magic is just a guess, but for sure he takes more damage with his gear on than without it. I don't think poison resistance is bugged 'cause when I removed that gear only I lost 34% resistance and 3 magic, and now poison is ticking for 20. However my druid, with twice Vaelis' magic and slightly less poison resistance than a fully dressed Vaelis, takes 16. I don't know what to make of these observations anymore ^^
If at first try it doesn't explode, it ain't Jack who wrote the code.
- Anima_
- Druid
- Posts: 345
- Joined: Fri Mar 02, 2012 2:44 pm
- Location: Germany
- Contact:
Re: The skills you love and the skills you hate
You're on the wrong track. The problem is this line in the code:
The effect strength is multiplied by this modifier. So the higher your magic the stronger the poison effect will be, if applied on you only of course.
Code: Select all
tmp_magic_reduction= pTarget.getValue("Magic")/self.user.getValue("Magic")RPG Programmer for Winterwolves, currently working on: Amber's Magic Shop
Part-time emotionless AI
Part-time emotionless AI


