-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom Entity System #317
Comments
This comment has been minimized.
This comment has been minimized.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
LM4 Entity TemplatesAboutThis system allows admins to configure a named template of stats a mob will receive upon application of that template.
Configuration
|
Closing this unless Oath is not satisfied :) |
Now four months later the only thing I have to add would be to include a mechanism which allows the base-attribute itself to also be modified prior to any multipliers being applied. For example: functions:
- function: "alpha-zombie-template"
processes:
- process: "apply-template"
do:
# Do this:
- action: "set-base"
bases:
- base: "max-health"
base-formula: "5"
# or this:
- action: "set-base"
use-presets: [ "glass-cannon" ]
- action: "set-buffs"
use-presets: [ "extreme-challenge" ]
- action: "set-packet-label"
formula: "&fLvl. %entity-level% &c&lAlpha Zombie"
visibility-methods: ["TARGETED", "ATTACKED", "MELEE"]
visibility-duration: 10s
- action: "set-death-label"
formula: "&fLvl. %entity-level% &c&lAlpha Zombie"
- preset: 'glass-cannon'
bases:
- base: 'health'
enabled: true
types:
in-list: ['MAX_HEALTH']
base-formula: '5'
- base: 'attack-damage'
enabled: true
types:
in-list: ['ATTACK_DAMAGE']
base-formula: '5 + (%entity-level-ratio%)' |
This would be separate to the custom entity system - simply achieved via something along the lines of a |
Was working on this behind the scenes for LM4, but might as well drop it here for whomever wants the mantle. It was my attempt at a Custom Entity making tool, prob. for it's own file
customentities.yml
or similar.I wanted to find a way that we could make some baby steps into the custom entity field, and help reduce our dependency on 3rd party plugins which require more solution chasing than they're worth in my opinion. I believe this might be some of the first baby steps if possible:
Essentially when an entity of the entitytype spawns, should all checks say this should be a custom entity, we would override the default attributes of that entity, apply it's unique name, and level it under whatever rules it would have levelled under otherwise, again unless the custom-entity condition is checked and that custom entity would get it's own multipliers.
The text was updated successfully, but these errors were encountered: