M_osiac Posted August 4, 2023 Share Posted August 4, 2023 (edited) I'm working on an rpg/box server right now, and I just can't figure out how to edit a mob's stats via script. The main thing I can't figure out is how to give a specific zombie better stats and armour than the rest. For example, there will be multiple zombie areas, with varying stats and armour. I'm just wondering how to give those mobs the specific stats and armour that I want. Another less important thing I want to know is how to make those specific zombie types spawn from a mob spawner. If it's not possible, a command block would still work the same. Edited August 4, 2023 by M_osiac Link to comment Share on other sites More sharing options...
0 rosabel Posted August 7, 2023 Share Posted August 7, 2023 This should go in the skript forum but yeah. You can usually edit the base stats of a mob through NBT data (will be a long tutorial for you to go through...) Also `set max health of last spawned zombie to 100` or equivalant, has always worked for me in regards to health. RosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRi code, animate, develop, UI design, learn, and adapt, as well as make servers, of courseJoined Minehut sometime in 2014VIP sometime in 2018Legend in January 2021Helper on 4/11/2021♥ (Retired) on 5/17/2021 Moderator on 8/18/2023 Link to comment Share on other sites More sharing options...
Question
M_osiac
I'm working on an rpg/box server right now, and I just can't figure out how to edit a mob's stats via script.
The main thing I can't figure out is how to give a specific zombie better stats and armour than the rest. For example, there will be multiple zombie areas, with varying stats and armour. I'm just wondering how to give those mobs the specific stats and armour that I want.
Another less important thing I want to know is how to make those specific zombie types spawn from a mob spawner. If it's not possible, a command block would still work the same.
Edited by M_osiacLink to comment
Share on other sites
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now