Postby ontheDOL » Fri May 05, 2017 3:47 am
ok here is my sparring dummy, did a quick test, should work no probs.
Will create a mob, right click him and you can set his level, parry, block, and evade rates.
He will fight back.
He cant die.
Walk away from him and he wont follow. Let him stop attacking to change his stats again.
quick setup for anyone interested. Put script in gameserverscript folder
in game type : /mob create DOL.GS.Scripts.SparringDummy
/mob peace
/mob equiptemplate create
/mob equiptemplate add right 4
/mob equiptemplate add left 61
/mob equiptemplate save sparring01
/mob visibleslot left
and your done. That just gives him a sword and shield to make it look a bit better. Open up the script and have a look if you want to add more features, it's pretty straight forward, copy how it is done in there already.
You have to right click him to set his defences as he spawns with none.
- Attachments
-
- SparringDummy.cs
- (7.57 KiB) Downloaded 25 times