New Code: Targets Friday, October 16th, 2009 at 9:12 pm
In preparation for bard changes (Targeted, pulsing songs), I've added targeting ability to the mud. It will likely be live with the 2.44b code push in a few days.
: k
Attack what?
: tar gua
You are now targeting Highport guardsman.
: k
Attacking target: Highport guardsman.
You punched the Highport guardsman for 45 damage.
: k
Attacking target: Highport guardsman.
You punched the Highport guardsman for 44 damage.
: k
Attacking target: Highport guardsman.
You punched the Highport guardsman for 43 damage.
: k
Attacking target: Highport guardsman.
The Highport guardsman somehow manages to dodge your attack.
: k
Attacking target: Highport guardsman.
You punched the Highport guardsman for 44 damage.
You killed the Highport guardsman.
You gain 30 experience for the death of the Highport guardsman.
Your faction standing with The Highport Guard has gotten worse. (200)
You are no longer targeting Highport guardsman!
: k
Attack what?
Re: Re: New Code: Targets Saturday, October 17th, 2009 at 10:01 am
Yes. Once your target dies/logs off/becomes otherwise destroyed, you cease targeting them.
It targets whatever monster you pick. guard 1, guard 5, and no matter what number he becomes, always targets that particular mob, even if he wanders into another room.
ie: target guard 5, guard 1-3 walk away, he is now guard 2, but you don't care, he's still your target.
Re: New Code: Targets Saturday, October 17th, 2009 at 3:24 pm
Confused about this a little, are you required to target before attacking?
How does this work if you flee out of the room or if the target flees? Do you have to re-target them?
How about pets, If you target a mob does the pet automatically target the same mob or do you have to instruct them to target the same?
Lastly, what about offensive spell casting, does targeting cause offensive spells to be directed to your target?
Re: Re: New Code: Targets Saturday, October 17th, 2009 at 11:31 pm
** I don't think it is a requirement, but more of an option for less typing/confusion when you have multiple mobs in the room.
** "It targets whatever monster you pick ... and no matter what number he becomes, always targets that particular mob, even if he wanders into another room." I would assume that applies to fleeing.
** I'm actually wondering about this one, if the pet does not engage by itself (where it would normally pick whatever mob is attacking you). Should see if 'pet k' will command the pet to attack the target too.
** From my understanding, this should apply to anything you can do to a target. Which includes spell casting. So you'd only have to type 'c burn' w/ a target set.
Re: Re: Re: Re: New Code: Targets Sunday, October 18th, 2009 at 5:05 pm
Lastly, what about offensive spell casting, does targeting cause offensive spells to be directed to your target?
** From my understanding, this should apply to anything you can do to a target. Which includes spell casting. So you'd only have to type 'c burn' w/ a target set.
That'd get dangerous... when your target is dead, you start casting burn on yourself!
I plan on adding a settable option, no casting offensive spells unless you specifically target yourself :P