Ecco una macro fatta da me per macrare le skills di Lesser Magic e Rest, inoltre chiaramente salgono anche le spell Mana Missile e Heal Self.
Utilizzo standard:
Assicuratevi di aver equippato la staffa niubba nel paperdoll poi impostate una barra delle skills in questa maniera:
Slot 3: Mana Missile
Slot 4: Heal Self
Slot 0: Rest
dopo di che nascondete bene il vostro pg e lasciatelo con la staffa nel fodero.
Quando avete preparato tutto e siete pronti potete far partire la macro con lo shortcuts Super(loghetto windows) + A, per fermare la macro invece utilizzate il bottone Pausa sulla vostra tastiera e poi terminatelo dalla tray icon.
Utilizzo avanzato:
Impostate tutto come per l'utilizzo standard poi aprite il file della macro con un editor di testo e modificate i parametri di configurazione impostandoli con i dati del vostro pg:
ATTENZIONE: Inserite solo valori interi, cioè numeri senza la virgola!!!Codice:/* CONFIGURATIONS: WARNING: Insert only integer value!!!! */ MaxManaPoints = 180 ManaMissileCost = 6 HealSelfCost = 20 RestorationTime = 170 ;time in secods!!!! ManaMissileKey = 3 ;shortcut of the Mana Missile spell ( 0 - 9 ) HealSelfKey = 4 ;shortcut of the Heal Self spell ( 0 - 9 ) RestKey = 0 ;shortcut of the Rest skill ( 0 - 9 ) ;END CONFIGURATIONS
MaxManaPoints = totale mana del vostro pg
ManaMissileCost = mana che consuma un mana missile
HealSelfCost = mana che consuma un heal self
RestorationTime = tempo in secondi per far reccare il vostro pg
ManaMissileKey = tasto su cui avete bindato i Mana Missile
HealSelfKey = tasto su cui avete bindato Heal Self
RestKey = tast su cui avete bindato Rest
File:
Copiate il seguente codice e salvatelo come LesserMagic_Rest.ahk, una volta fatto per caricarlo basta che fate doppio click sopra.
buon macramentoCodice:; ; AutoHotkey Version: 1.x ; Language: English ; Platform: Win9x/NT ; Author: bacca87 <bacca87 at hotmail.com> ; ; Script Function: ; Increase the general skills of Lesser Magic and Restoration for Darkfall Online ; #a:: /* CONFIGURATIONS: WARNING: Insert only integer value!!!! */ MaxManaPoints = 180 ManaMissileCost = 6 HealSelfCost = 20 RestorationTime = 170 ;time in secods!!!! ManaMissileKey = 3 ;shortcut of the Mana Missile spell ( 0 - 9 ) HealSelfKey = 4 ;shortcut of the Heal Self spell ( 0 - 9 ) RestKey = 0 ;shortcut of the Rest skill ( 0 - 9 ) ;END CONFIGURATIONS Unsheathe() mana := MaxManaPoints Loop { if (mana > HealSelfCost) { HealSelf(HealSelfKey) mana -= HealSelfCost i := mana / ManaMissileCost if i > 15 i = 15 Loop %i% { ManaMissile(ManaMissileKey) mana -= ManaMissileCost } } else if (mana > ManaMissileCost) { i := mana / ManaMissileCost Loop %i% { ManaMissile(ManaMissileKey) mana -= ManaMissileCost } } else { Restoration(RestKey, RestorationTime) Unsheathe() mana := MaxManaPoints } Sleep , 500 } return Unsheathe() { Send , R Sleep , 4000 return } ManaMissile(key) { Send , %key% MouseClick left Sleep , 2000 return } HealSelf(key) { Send , %key% MouseClick left Sleep , 5000 return } Restoration(key, delay) { Unsheathe() Send , %key% MouseClick left Loop %delay% { Sleep , 1000 } Send , {Space} Sleep , 4000 return }![]()




Quote


