All times are UTC - 5 hours [ DST ]


Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Macro: Arms Lore
PostPosted: Sun May 01, 2016 12:11 am 
Offline
User avatar
User Rep: Fair
Post Rep: 2
 Profile

Joined: Tue Aug 04, 2015 11:28 pm
Posts: 77
This macro will tell you stuff about gear. This macro isn't for training the skill, it's just a slightly better way of using it unless you have really great memory and know exactly what all the system messages mean when using the skill on a piece of gear.
Quote:
UseSkill Arms Lore
Wait for Target
Exec: Last Target
Pause .25sec
If ( SysMessage "moments" )
Exec: > Stop Current Macro
End If
// Durability: (10)
If ( SysMessage "unused." )
Say: Durability: 100%
End If
If ( SysMessage "new." )
Say: Durability: 90%
End If
If ( SysMessage "scratches." )
Say: Durability 80%
End If
If ( SysMessage "condition." )
Say: Durability 70%
End If
If SysMessage "tear." )
Say: Durability 60%
End If
If ( SysMessage "well-used." )
Say: Durability 50%
End If
If ( SysMessage "battered." )
Say: Durability: 40%
End If
If ( SysMessage "damage." )
Say: Durability 30%
End If
If ( SysMessage "trustworthy." )
Say: Durability: 20%
End If
If ( SysMessage "apart." )
Say: Durability: 10%
End If
Pause .25sec
// Armour Rating: (8)
If ( SysMessage "superbly" )
Say: Armour Rating: 31+
End If
If ( SysMessage "excellent" )
Say: Armour Rating: 26-30
End If
If ( SysMessage "superior defense"
Say: Armour Rating: 21-25
End If
If ( SysMessage "as a" )
Say: Armour Rating: 16-20
End If
If ( SysMessage "some protection" )
Say: Armour Rating: 11-15
End If
If ( SysMessage "very little" )
Say: Armour Rating: 6-10
End If
If ( SysMessage "almost no" )
Say: Armour Rating: 1-5
End If
If ( SysMessage "no defense" )
Say: Armour Rating: 0
End If
Pause .25sec
// Average Damage: (7)
If ( SysMessage "extraordinarily"
Say: Average Damage: 21-25
End If
If ( SysMessage "quite" )
Say: Average Damage: 16-20
End If
If ( SysMessage "fair" )
Say: Average Damage: 11-15
If ( SysMessage "some" )
Say: Average Damage: 6-10
End If
If ( SysMessage "minimal" )
Say: Average Damage: 3-5
End If
If ( SysMessage "scratch" )
Say: Average Damage: 0-2
End If
Code:
Assistant.Macros.UseSkillAction|4
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.HotKeyAction|1058|
Assistant.Macros.PauseAction|00:00:00.2500000
Assistant.Macros.IfAction|4|0|moments
Assistant.Macros.HotKeyAction|1083|
Assistant.Macros.EndIfAction
// Durability: (10)
Assistant.Macros.IfAction|4|0|unused.
Assistant.Macros.SpeechAction|0|52|3|ENU|0|Durability: 100%
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|new.
Assistant.Macros.SpeechAction|0|52|3|ENU|0|Durability: 90%
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|scratches.
Assistant.Macros.SpeechAction|0|52|3|ENU|0|Durability: 80%
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|condition.
Assistant.Macros.SpeechAction|0|52|3|ENU|0|Durability: 70%
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|tear.
Assistant.Macros.SpeechAction|0|52|3|ENU|0|Durability: 60%
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|well-used.
Assistant.Macros.SpeechAction|0|52|3|ENU|0|Durability: 50%
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|battered.
Assistant.Macros.SpeechAction|0|52|3|ENU|0|Durability: 40%
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|damaged.
Assistant.Macros.SpeechAction|0|52|3|ENU|0|Durability: 30%
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|trustworthy.
Assistant.Macros.SpeechAction|0|52|3|ENU|0|Durability: 20%
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|apart.
Assistant.Macros.SpeechAction|0|52|3|ENU|0|Durability: 10%
Assistant.Macros.EndIfAction
Assistant.Macros.PauseAction|00:00:00.2500000
// Armour Rating: (8)
Assistant.Macros.IfAction|4|0|superbly
Assistant.Macros.SpeechAction|0|52|3|ENU|0|Armour Rating: 31+
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|excellent
Assistant.Macros.SpeechAction|0|52|3|ENU|0|Armour Rating: 26-30
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|superior defense
Assistant.Macros.SpeechAction|0|52|3|ENU|0|Armour Rating: 21-25
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|as a
Assistant.Macros.SpeechAction|0|52|3|ENU|0|Armour Rating: 16-20
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|some protection
Assistant.Macros.SpeechAction|0|52|3|ENU|0|Armour Rating: 11-15
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|very little
Assistant.Macros.SpeechAction|0|52|3|ENU|0|Armour Rating: 6-10
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|almost no
Assistant.Macros.SpeechAction|0|52|3|ENU|0|Armour Rating: 1-5
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|no defense
Assistant.Macros.SpeechAction|0|52|3|ENU|0|Armour Rating: 0
Assistant.Macros.EndIfAction
Assistant.Macros.PauseAction|00:00:00.2500000
// Average Damage: (7)
Assistant.Macros.IfAction|4|0|extraordinarily
Assistant.Macros.SpeechAction|0|52|3|ENU|0|Average Damage: 26+
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|superior
Assistant.Macros.SpeechAction|0|52|3|ENU|0|Average Damage: 21-25
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|quite
Assistant.Macros.SpeechAction|0|52|3|ENU|0|Average Damage: 16-20
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|fair
Assistant.Macros.SpeechAction|0|52|3|ENU|0|Average Damage: 11-15
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|some
Assistant.Macros.SpeechAction|0|52|3|ENU|0|Average Damage: 6-10
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|minimal
Assistant.Macros.SpeechAction|0|52|3|ENU|0|Average Damage: 3-5
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|scratch
Assistant.Macros.SpeechAction|0|52|3|ENU|0|Average Damage: 0-2
Assistant.Macros.EndIfAction


Last edited by Swunk on Thu May 05, 2016 12:02 pm, edited 2 times in total.

Top
 
These Support SecondAge
Links open a new window.
UOSA Donors & Subscribers do not receive these ads.

 Post subject: Re: Macro: Arms Lore
PostPosted: Sun May 01, 2016 7:59 am 
Offline
User avatar
User Rep: Trustworthy
Trustworthy
 WWW  Profile

Joined: Wed Aug 14, 2013 8:00 pm
Posts: 1452
Location: New York
Very clever idea!

_________________
Eat. Sleep. Ultima.


Top
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 25 guests


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 post attachments in this forum

Jump to:  
Support Second Age: These links Open in a New Window

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group  
Extended by Karma MOD © 2007—2012 m157y