Reflect damage enchantment [don't reflect anything..]

Post » Mon Jun 18, 2012 10:56 pm

Hi ! Today I'm working on a Shield which could reflect damage when blocking but... hum... That doesn't works... Really..

I took an exemple on effect "perk reflect blows" and tried to make an enchant but that don't reflect anything... I don't understand..

could you help me ? Answer is maybe really stupid and that could take you just few seconds..


Ps : I'm french.. sorry if I don't write properly.. :/
Pps : Thanks to Read/help me :)
User avatar
Project
 
Posts: 3490
Joined: Fri May 04, 2007 7:58 am

Post » Tue Jun 19, 2012 1:53 am

Bump ! please :'(
User avatar
Harry Leon
 
Posts: 3381
Joined: Tue Jun 12, 2007 3:53 am

Post » Tue Jun 19, 2012 12:06 am

Uhmm, the 'Reflect Damage' is a Perk, not an enchantment. So, to make it works, you can create your unique shield, with ID is something like myUberShield
Then you create a perk, called shieldReflectDamage, and copy the reflect damage property of the Reflect Blows Perk
In the condition of your shieldReflectDamage perk, make sure to create a condition function: isBlocking == 1 & is equipping myUberShield

Last step is to create a script of ObjectReference and link it to your myUberShield .... In side the script should have something like this:

Perk Property [b]shieldReflectDamage[/b]  AutoEvent OnEquipped(Actor akActor)   akActor.addperk([b]shieldReflectDamage[/b])EndEventEvent OnUnEquipped(Actor akActor)   akActor.RemovePerk([b]shieldReflectDamage[/b])EndEvent
User avatar
Dalley hussain
 
Posts: 3480
Joined: Sun Jun 18, 2006 2:45 am


Return to V - Skyrim