Jump to content

Can some1 make me a trigger script pls


NighTragEl4d

Recommended Posts

The effect of the trigger script is:

 

The bullet time (focus) activates when werewolf is on 10 % health or at 1 % chance during combat,also during the bullet time werewolf gets +100 speed and +100 strength,the bullet time lasts 15 seconds,after those 15 seconds atributes return as they were,and for next 5 seconds werewolf suffers from exhaustion (-25 fatigue for 5 seconds).During those 5 seconds bullet time shouldnt be activated again.

There thats it hope you help.

Link to comment
Share on other sites

Make an ability that fortifies strength and speed by magnitude 100. Make another ability that damages fatigue by magnitude 25. Put this script on your werewolf:

 

scn werewolfscript

float timer

Begin GameMode

if (IsSpellTarget FatigueLossAbility != 1) && (IsInCombat == 1)
	if (GetAV Health < 0.1 * (GetBaseAV Health)) || (GetRandomPercent < 1)
		AddSpell BulletTimeAbility
		set timer to 15
	endif
endif

if (IsSpellTarget BulletTimeAbility)
	set timer to timer - GetSecondsPassed
	if (timer < 0)
		RemoveSpell BulletTimeAbility
		AddSpell FatigueLossAbility
		set timer to 5
	endif
endif

if (IsSpellTarget FatigueLossAbility)
	set timer to timer - GetSecondsPassed
	if (timer < 0)
		RemoveSpell FatigueLossAbility
	endif
endif

End

Link to comment
Share on other sites

  • Recently Browsing   0 members

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