Jump to content

SetNthEffectItemMagnitude


Faceshifter

Recommended Posts

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...