WRWR
Journeyman
Posts: 212
Likes Given: 30
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 1
|
Spell strength
Spell strength, have one question about it
i want to make fixed value to effect but use it in calculation in @SPELLEFFECT
now if i set value EFFECT=5
calculation ARGN2 in @SPELLEFECT just ignored, and effect always 5
|
|
09-04-2012 10:30 PM |
|
|
darksun84
Sir Spamalot
Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35
|
RE: Spell strength
Spell Strenght even if you set it, it's still influenced by your intelligence value and magery.
In fact if we try with int 0, magery 10.0 (that the minimum for magic arrow )
20:11:50 Effect Before 100
20:11:50 Effect After 1000 //multiplied by 10
20:11:100 Effect Spell : 1000
20:11:(WL_Combat.scp,74)Damage 1000
This test was done with spellflag_scripted btw!
Instead, without spellflag_scripted, magery and intelligence influence the effect in a different way.
If we have a base value of effect = 10 no matter of how much we modify the effect , the result will be always 10(with damage_god flag)
But if we have 10,15 as base value effect, more the strenght of spell is higher (argn2) more the chance we will get a value near 15!
This is the proof
Test 1 :
Int 0(so no bonus on spellstrenght) , Magery 100.0
Magic Arrow base Effect : 10,15
20:32:50 Effect Before 1000 -> Spell Strenght : magery of 100.0
20:32:50 Effect After 100 -> Spell Strenght set to 10.0, the minum magery requested for magic arrow
20:32:100 Effect Spell : 100-> How Spell Strenght appear on @Effect
20:32:(WL_Combat.scp,74)Damage 10 <- the minum damage for magic arrow
Test 2
Int 0 (as before), Magery 10.0
Magic Arrow base Effect : 10,15
20:40:50 Effect Before 100 -> Magery 0f 10.0
20:40:50 Effect After 1000 -> Argn2 set to 100.0
20:40:100 Effect Spell : 1000 -> As Before
20:40:(WL_Combat.scp,74)Damage 14 <- More Spell Strenght more is the chance we will get a value near 15!
Test 3
Int 0 , Magery 10.0 Magic Arrow Effect : 10,15
20:43:50 Effect Before 100 -> Mine magery of 10.0
20:43:50 Effect After 100 -> This time ARGN2 is not changed
20:43:100 Effect Spell : 10 -> As written above
20:43:(WL_Combat.scp,74)Damage 10 -> We will get always the minimum damage
(This post was last modified: 09-05-2012 04:47 AM by darksun84.)
|
|
09-05-2012 04:12 AM |
|
|