Divinity: Original Sin 2

Divinity: Original Sin 2

Create Mods. Have Fun.
Because no one has as many friends as the man with many mods!
Learn More
赛马郎 21 Apr, 2022 @ 10:47pm
I need help.About giving extra properties to weapons
I want to add QUEST_DEFLECTION_AURA to a shield.
But it can only last a few rounds,not like the enemy's.
How can I make it permanent
< >
Showing 1-3 of 3 comments
Doctor Beetus 7 22 Apr, 2022 @ 10:39pm 
In the ExtraProperties field, you can use Self:OnEquip:QUEST_DEFLECTION_AURA, but it will be permanent.

If you want to make it last a few turns then you can instead make a skill that grants the aura for a few turns and add that skill to your shield.
< blank > 7 29 Apr, 2022 @ 12:38pm 
IF ObjectEnteredCombat((CHARACTERGUID)_Char,_)
AND HasActiveStatus(_Char,"YourStatus",1)
THEN
ApplyStatus(_Char,"QUEST_DEFLECTION_AURA",12.0);

Here is an Osisris Script that will apply the aura for 2 turns, 1 turn make the last number 6.0, 3 turns 18.0

You need to make a status, "YourStatus", and add Self:OnEquip:YourStatus to the extraproperties for the gear

One issue with this is that the aura will come back if the character dies and is revived
赛马郎 30 Apr, 2022 @ 12:17am 
OK
already solved
thanks
:)
< >
Showing 1-3 of 3 comments
Per page: 1530 50