mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-04 14:38:57 +00:00
tridents can now be damaged
This commit is contained in:
1 parent
879145b433
commit
431304d065
2 files changed
+8
-2
No files matched your search
@@ -57,6 +57,12 @@ public class Helper
|
|||||||
damageable.setDamage(249);
|
damageable.setDamage(249);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (is.getType() == Material.TRIDENT) {
|
||||||
|
damageable.setDamage(damageable.getDamage() + 62);
|
||||||
|
if (damageable.getDamage() > 200) {
|
||||||
|
damageable.setDamage(249);
|
||||||
|
}
|
||||||
|
}
|
||||||
meta = (ItemMeta)damageable;
|
meta = (ItemMeta)damageable;
|
||||||
is.setItemMeta(meta);
|
is.setItemMeta(meta);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -130,8 +130,8 @@ public class War {
|
|||||||
* 0 - None
|
* 0 - None
|
||||||
* 1 - Side 1
|
* 1 - Side 1
|
||||||
* 2 - Side 2
|
* 2 - Side 2
|
||||||
* @param string
|
* @param string town
|
||||||
* @return
|
* @return result
|
||||||
*/
|
*/
|
||||||
public int getSide(String string) {
|
public int getSide(String string) {
|
||||||
for (String str : surrenderedTowns) {
|
for (String str : surrenderedTowns) {
|
||||||
|
|||||||
Reference in new issue
Block a user