-
Notifications
You must be signed in to change notification settings - Fork 89
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
Add power attribute for projectiles #1237
Conversation
I believe yield is the probability of items dropping, 1=100% of items, 0.5=50% items etc, not the power of the explosion |
We did a test on CS's test server last night where he had hard-coded the value to 10. It was super explosive in both destruction of materials and allowing high Fireball jumping. |
core/src/main/java/tc/oc/pgm/projectile/ProjectileMatchModule.java
Outdated
Show resolved
Hide resolved
So the |
Well, that sounds like a stupid decision on the bukkit api or other upstream sources, can we avoid passing it down to pgm? <tnt>
<power>5</power>
<yield>0.5</yield>
</tnt> and i wouldn't want that yield and this one to be confused. Maybe just call it power (like tnt has)? |
Sure will do |
Signed-off-by: Christopher White <[email protected]>
50c5fc8
to
13c6dbb
Compare
Resolves #1232
Adds a power attribute for projectiles. If the projectile implements
Explosive
and apower
is supplied it will set the explosive power to the specified amount.Example usage: