Faceshifter Posted October 9, 2011 Share Posted October 9, 2011 I'm trying to scale the damage of a spell with the player's Destruction and Intelligence using this function.Sadly, when I try using it, it doesn't work. Can someone direct to or show me an example of this thing? I am puzzled. Link to comment Share on other sites More sharing options...
fg109 Posted October 9, 2011 Share Posted October 9, 2011 Here's a script that will increase the damage of Flare (the player's starting spell) by 1 every time you press the period key. scn testquestscript float fquestdelaytime float tempfloat Begin GameMode if (fquestdelaytime != 0.01) let fquestdelaytime := 0.01 endif if (OnKeyDown 52) let tempfloat := GetNthEffectItemMagnitude StandardFireDamageTarget1Novice 0 let tempfloat += 1 SetNthEffectItemMagnitude tempfloat StandardFireDamageTarget1Novice 0 endif End Link to comment Share on other sites More sharing options...
Faceshifter Posted October 9, 2011 Author Share Posted October 9, 2011 Oh now I see my mistake. My spell was an ability 5 fire damage constant, and it had to be changed, so I set: SetNthEffectItemMagnitude SomeGiantFactor MySpell 1 But for the CS, the first thing is 0 of course. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts