Important Notice:
We regret to inform you that our free phpBB forum hosting service will be discontinued by the end of June 30, 2024.
If you wish to migrate to our paid hosting service, please contact billing@hostonnet.com.
|
|
|
|
Message |
Posted:
Sat Mar 07, 2009 6:19 pm Post subject:
[Script] Boots of Blinding speed |
|
|
Boots of Blinding Speed
Code: |
;=========================================
;Script: Boots of Blinding Speed Script
;Version: 1.0
;Author: InsanitySorrow
;========================================
Scriptname ISBlindingBootsScript
;========================================
;Variables
;========================================
Short ModSpeed
Short Speed
Short Resistance
Short Blind
Ref Self
;========================================
;Main Script
;========================================
Begin ScriptEffectStart
Set Self to GetContainer
set Speed to Self.GetAV Speed + 500
set Resistance to Self.GetAV ResistMagic
set Blind to 20 - ( Resistance / 5 )
ModAV Speed 500
End
Begin ScriptEffectUpdate
If Resistance != GetAV ResistMagic
set Resistance to GetAV ResistMagic
set Blind to 20 - ( Resistance / 5 )
endif
If Self.IsRunning == 1
ModAV Speed 500
TriggerHitShader Blind
Set ModSpeed to 1
Elseif Self.IsSneaking == 1
Set ModSpeed to 0
Return
Endif
Elseif Self.IsSneaking == 0
ModAV Speed 500
TriggerHitShader Blind
Set ModSpeed to 1
Endif
Elseif Self.IsRunning == 0
Set ModSpeed to 0
Return
Endif
Elseif Self.IsRunning == 0 && Self.IsSneaking == 1
Set ModSpeed to 0
Return
Endif
Elseif Self.IsRunning == 1 && Self.IsSneaking == 0
ModAV Speed 500
TriggerHitShader Blind
Set ModSpeed to 1
Endif
Elseif Self.IsSneaking == 0 && Self.IsRunning == 0
Set ModSpeed to 0
Return
Endif
Endif
End
Begin ScriptEffectFinish
If ModSpeed == 1
ModAV Speed -500
Endif
End
;========================================
;End Script
;========================================
|
|
|
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|