Natfoth
Community Developer
- Joined
- Jan 15, 2010
- Messages
- 1,446
- Reaction score
- 37
Heya guys, I got requests to add this one also. It will target an NPC then cast a spell on it, you can also define how many times to do it.
Features
- Cast Spell on Target
- Define the amount of times to do so
Even if the bot is interrupted it will remember where it was at and how many then continue where it left off. This works amazing and hope you guys can make a lot out of it
Example:
Args in order
You have to have all the Args no matter what even if you dont want it, Thats why I put what the default should be for you guys.
As of right now there should be 5 Args
1: Spell ID (Obvious)
2: NPC ID To Cast it On
3: How many Times (Has to be greater then 0)
4: HP of the mob to cast on (100 should be default)
5: Area of the NPCs can be within 100 yards
Install
Place inside of your "Quest Behaviors" folder and add the line to your Quest Profile. Example above.
CastSpellOn should be what you put inside of your profile. It cannot be anything else or it will not work, it has to be exact.
Fixes
Version 1.0.0.3
- Totally Changed the way that it handled so that combat works
- Also added more NPC Location checks so that you can do a Charge if you would like or a far away spell.
Version 1.0.0.2
- Added more move code so that you are always within range
- Added a new feature "Heal Below HP %" Updated Example And Args
Version 1.0.0.1
- Fixed a movement loop that caused it not to work.
Features
- Cast Spell on Target
- Define the amount of times to do so
Even if the bot is interrupted it will remember where it was at and how many then continue where it left off. This works amazing and hope you guys can make a lot out of it
Example:
Code:
<CustomBehavior File="CastSpellOn" QuestId="28746" Arguments="635,44564,5,70,-8858.6 -197.16 81.92604" />
Args in order
You have to have all the Args no matter what even if you dont want it, Thats why I put what the default should be for you guys.
As of right now there should be 5 Args
1: Spell ID (Obvious)
2: NPC ID To Cast it On
3: How many Times (Has to be greater then 0)
4: HP of the mob to cast on (100 should be default)
5: Area of the NPCs can be within 100 yards
Install
Place inside of your "Quest Behaviors" folder and add the line to your Quest Profile. Example above.
CastSpellOn should be what you put inside of your profile. It cannot be anything else or it will not work, it has to be exact.
Fixes
Version 1.0.0.3
- Totally Changed the way that it handled so that combat works
- Also added more NPC Location checks so that you can do a Charge if you would like or a far away spell.
Version 1.0.0.2
- Added more move code so that you are always within range
- Added a new feature "Heal Below HP %" Updated Example And Args
Version 1.0.0.1
- Fixed a movement loop that caused it not to work.
Attachments
Last edited: