wolfman6801
New member
- Joined
- Sep 12, 2004
- RedCents
- 34¢
OK, I have been PMing someone who has been a great help, I just don't want to push it. I still have a few problems, like I said this is very basic because I can not, for the life of me, learn how to make a macro. I have been on Wiki and read many things on making a macro. I have been unsuccessful at doing anything they say. :o
Well, anyway this is what I got. Please don't laugh at this, He He. I am getting "you must have a target to cast this spell on." What spell is it trying to cast and why is it trying to execute a cast command? Also, I have been trying to stick to the mob and loot automatically. I cut the loot part out cause after mob was dead I kept targeting corpses half way across zone and kept running to them. I'd run for few minutes then lose target and get you must have target to stick. I know all my delays have to be off, right? and one more thing, can anyone suggest how I can /if statement on casting spells? For example, I have /if (${Target.PctHPs}<=80) /cast "Dooming Darkness" but these don't always cast till when it wants too. Like it will sometimes cast at 85% or sometimes 60% same with all other spells.
Well, anyway this is what I got. Please don't laugh at this, He He. I am getting "you must have a target to cast this spell on." What spell is it trying to cast and why is it trying to execute a cast command? Also, I have been trying to stick to the mob and loot automatically. I cut the loot part out cause after mob was dead I kept targeting corpses half way across zone and kept running to them. I'd run for few minutes then lose target and get you must have target to stick. I know all my delays have to be off, right? and one more thing, can anyone suggest how I can /if statement on casting spells? For example, I have /if (${Target.PctHPs}<=80) /cast "Dooming Darkness" but these don't always cast till when it wants too. Like it will sometimes cast at 85% or sometimes 60% same with all other spells.
PHP:
|------------------------------------------------------
|This is just a basic necro mac. Used target mac from:
|www.Redguides.com
|------------------------------------------------------
|Sub Main
|------------------------------------------------------
Sub Main
:loopstart
/doevents
/if (${Target.Level}>40) /tar npc next
/if (${Target.Distance}>220) /keypress esc
/if (${Target.ID}) /tar NPC radius 220
/call Attack
/goto :loopstart
/return
|------------------------------------------------------
|Sub Attack
|------------------------------------------------------
Sub Attack
/if (${Target.Distance}<200) /pet attack
/if (${Target.Distance}>200) /stick 10
/if (${Target.PctHPs}<95) /call Nukes
/return
|------------------------------------------------------
|Sub Nukes
|------------------------------------------------------
Sub Nukes
/if (${Me.PctHPs}<70) /call Health
/delay 15s
/if (${Target.PctHPs}<=80) /cast "Dooming Darkness"
/delay 15s
/if (${Target.PctHPs}<=70) /cast "venom of the snake"
/delay 15s
/if (${Target.PctHPs}<=65) /cast "Root"
/delay 15s
/if (${Target.PctHPs}<=40) /cast "Torbas' Acid Blast"
/delay 15s
/if (${Target.PctHPs}<=25) /cast "Root"
/delay 15s
/return
|------------------------------------------------------
|Sub Health
|------------------------------------------------------
Sub Health
/if (${Me.Pet.PctHPs}<65) /call PetHeal
/if (${Me.PctHPs}<70) /cast "spirit tap"
/if (${Me.PctMana}<60) /cast "call of bones"
/if (${Me.PctHPs}<50 /cast "Spirit tap"
/if (${Me.PctHPs}<30 /cast "Feign Death"
/return
|------------------------------------------------------
|Sub Pet Heal
|------------------------------------------------------
Sub PetHeal
/if (${Me.Pet.PctHPs}<65) /Cast "renew bones"
/if (${Me.PctMana}<65) /call ManaLow
/return
|------------------------------------------------------
|Sub Mana Low
|------------------------------------------------------
Sub ManaLow
/keypress F1
/if (${Me.PctMana}<60) /cast "call of bones"
/return