Can you make a random damage spell?

Post » Wed Jun 20, 2012 2:23 am

Basically I'm wondering if I can make a move do damage based upon a random distribution rather than one value consistently.
User avatar
Danel
 
Posts: 3417
Joined: Tue Feb 27, 2007 8:35 pm

Post » Wed Jun 20, 2012 6:09 am

Spells, yes. Weapon attacks, I don't think so.

If you're talking about spells, just create a magic effect with Script effect archetype. Then use the script to deal damage.

EDIT: If you don't want to use scripting and DamageAV("Health") to actually deal the damage, then you could instead create a spell with many copies of the same magic effect. Each copy would have slightly differing magnitudes/durations. Make the effects conditional on a value you can set somewhere, like in a script using RandomInt.
User avatar
LijLuva
 
Posts: 3347
Joined: Wed Sep 20, 2006 1:59 am

Post » Wed Jun 20, 2012 4:12 pm

Spells, yes. Weapon attacks, I don't think so.

If you're talking about spells, just create a magic effect with Script effect archetype. Then use the script to deal damage.

EDIT: If you don't want to use scripting and DamageAV("Health") to actually deal the damage, then you could instead create a spell with many copies of the same magic effect. Each copy would have slightly differing magnitudes/durations. Make the effects conditional on a value you can set somewhere, like in a script using RandomInt.

I don't understand what you're talking about yet, but I think with a little research I'll be able to make sense of it. Thanks!
User avatar
Rachel Briere
 
Posts: 3438
Joined: Thu Dec 28, 2006 9:09 am


Return to V - Skyrim