|
||
|
|||||||
| Razor: The Cutting Edge UO Assistant Razor is an Assistant program (similar to the popular UOAssist) for player run Ultima Online shards. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Join Date: Aug 2004
Age: 25
Posts: 1
|
Hello there! I have create a little healing macro, and cant to solve some problem with protection from "curse" spell. There is version for 110 dex fenser-poisoner:
If (Hits<=140) Exec: Bandage Self Pause 1.00sec If (Poisoned) Undress: Shield Double Click (Orange Potion(0F07)) Double Click (Yellow Potion(0F0C)) If (Stamina <= 100) Double Click (Red Potion(0F0B)) End If Dress: Shield Else If (Stamina <=100) Undress: Shield Double Click (Red Potion(0F0B)) Dress: Shield Pause ,20sec Else Pause 2,00sec End If End If If (Poisoned) Undress: Shield Double Click (Orange Potion(0F07)) Double Click (Yellow Potion(0F0C)) If (Stamina <=100) Double Click (Red Potion(0F0B)) End If Dress: Shield Else Pause 1,90sec End If End If The problem is: "If" function working with hp, stam, mana, but dont working with stats like dex, str and int. If it will be avialible in 17 razor's version - it would help me with my problem... |
|
|
|
|
|
#2 (permalink) |
|
Join Date: Aug 2004
Location: Fort Worth Texas, USA
Age: 40
Posts: 114
|
Try this one out. Yours has some redundantcy and uneeded nested IF thens.
If (Hits<=140) Exec: Bandage Self Pause 1.00sec <-- This pause should be long enough to actually heal you End IF If (Poisoned) Undress: Shield Pause .650sec Double Click (Orange Potion(0F07)) Pause .650sec Double Click (Yellow Potion(0F0C)) Pause .650sec Dress: Shield End IF If (Stamina <= 100) Undress: Shield Double Click (Red Potion(0F0B) End If Pause .650sec |
|
|
|
|
|
#3 (permalink) |
|
Join Date: Aug 2004
Age: 34
Posts: 8
|
is that the hole script for autohealing it does look like it be i'm not all that good at writing script yet and where do you place if it is?
cause i been looking for an autohealing scrpit for my players for awhile now |
|
|
|
|
|
#4 (permalink) |
|
Join Date: Aug 2004
Location: Fort Worth Texas, USA
Age: 40
Posts: 114
|
copy and the text and use notpad to save it as ..\razor\macros\healing.macro.
Also note this a simply a rework of the provided macro I have another healing macro in these postings. You may like it better. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|