mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 15:16:45 +01:00
Daze now deals 4 DMG on proc to help make Archery hit harder
This commit is contained in:
parent
06c3a588bf
commit
398f8c4318
@ -9,6 +9,7 @@ Key:
|
|||||||
|
|
||||||
Version 1.3.06-dev
|
Version 1.3.06-dev
|
||||||
+ Added API functions for obtaining offline profiles & profiles via player names
|
+ Added API functions for obtaining offline profiles & profiles via player names
|
||||||
|
+ Changed Archery's Daze to deal 4 DMG on proc (2 Hearts)
|
||||||
+ Changed /addlevel command to work for offline users
|
+ Changed /addlevel command to work for offline users
|
||||||
+ Changed PlayerProfile constructor to always take a boolean
|
+ Changed PlayerProfile constructor to always take a boolean
|
||||||
+ Changed getPlayerProfile funtion to work for online & offline users
|
+ Changed getPlayerProfile funtion to work for online & offline users
|
||||||
|
@ -204,10 +204,8 @@ public class Combat {
|
|||||||
|
|
||||||
/* Every 100 skill levels Archery gains 20% damage bonus, set that here */
|
/* Every 100 skill levels Archery gains 20% damage bonus, set that here */
|
||||||
//TODO: Work in progress for balancing out Archery, will work on it more later...
|
//TODO: Work in progress for balancing out Archery, will work on it more later...
|
||||||
//System.out.println("DEBUG 0: "+event.getDamage());
|
|
||||||
int archeryBonus = (int)(event.getDamage() * dmgBonusPercent);
|
int archeryBonus = (int)(event.getDamage() * dmgBonusPercent);
|
||||||
event.setDamage(event.getDamage() + archeryBonus);
|
event.setDamage(event.getDamage() + archeryBonus);
|
||||||
//System.out.println("DEBUG 1: "+event.getDamage());
|
|
||||||
|
|
||||||
if (mcPermissions.getInstance().trackArrows(attacker)) {
|
if (mcPermissions.getInstance().trackArrows(attacker)) {
|
||||||
Archery.trackArrows(pluginx, target, PPa);
|
Archery.trackArrows(pluginx, target, PPa);
|
||||||
|
@ -8,6 +8,7 @@ import org.bukkit.entity.Entity;
|
|||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.inventory.ItemStack;
|
import org.bukkit.inventory.ItemStack;
|
||||||
|
|
||||||
|
import com.gmail.nossr50.Combat;
|
||||||
import com.gmail.nossr50.Users;
|
import com.gmail.nossr50.Users;
|
||||||
import com.gmail.nossr50.m;
|
import com.gmail.nossr50.m;
|
||||||
import com.gmail.nossr50.mcMMO;
|
import com.gmail.nossr50.mcMMO;
|
||||||
@ -62,6 +63,7 @@ public class Archery {
|
|||||||
|
|
||||||
if (random.nextInt(2000) <= skillCheck && mcPermissions.getInstance().daze(attacker)) {
|
if (random.nextInt(2000) <= skillCheck && mcPermissions.getInstance().daze(attacker)) {
|
||||||
defender.teleport(loc);
|
defender.teleport(loc);
|
||||||
|
Combat.dealDamage(defender, 4);
|
||||||
defender.sendMessage(mcLocale.getString("Combat.TouchedFuzzy"));
|
defender.sendMessage(mcLocale.getString("Combat.TouchedFuzzy"));
|
||||||
attacker.sendMessage(mcLocale.getString("Combat.TargetDazed"));
|
attacker.sendMessage(mcLocale.getString("Combat.TargetDazed"));
|
||||||
}
|
}
|
||||||
|
@ -76,7 +76,7 @@ m.XPGainArchery=[[YELLOW]]Monster/Spieler angreifen
|
|||||||
m.EffectsArchery1_0=[[YELLOW]]Entzuenden
|
m.EffectsArchery1_0=[[YELLOW]]Entzuenden
|
||||||
m.EffectsArchery1_1=[[AQUA]]25% Chance das Feind Feuer faengt
|
m.EffectsArchery1_1=[[AQUA]]25% Chance das Feind Feuer faengt
|
||||||
m.EffectsArchery2_0=[[YELLOW]]Blenden (Spieler)
|
m.EffectsArchery2_0=[[YELLOW]]Blenden (Spieler)
|
||||||
m.EffectsArchery2_1=[[AQUA]]Disorientiert Feinde
|
m.EffectsArchery2_1=Disorients foes and deals 4 DMG
|
||||||
m.EffectsArchery3_0=[[YELLOW]]Schaden+
|
m.EffectsArchery3_0=[[YELLOW]]Schaden+
|
||||||
m.EffectsArchery3_1=[[AQUA]]Modifiziert Schaden
|
m.EffectsArchery3_1=[[AQUA]]Modifiziert Schaden
|
||||||
m.EffectsArchery4_0=[[YELLOW]]Pfeil Rueckgewinnung
|
m.EffectsArchery4_0=[[YELLOW]]Pfeil Rueckgewinnung
|
||||||
|
@ -76,7 +76,7 @@ m.XPGainArchery=Attacking Monsters
|
|||||||
m.EffectsArchery1_0=Skill Shot
|
m.EffectsArchery1_0=Skill Shot
|
||||||
m.EffectsArchery1_1=Increases damage done by Bows
|
m.EffectsArchery1_1=Increases damage done by Bows
|
||||||
m.EffectsArchery2_0=Daze (Players)
|
m.EffectsArchery2_0=Daze (Players)
|
||||||
m.EffectsArchery2_1=Disorients foes
|
m.EffectsArchery2_1=Disorients foes and deals 4 DMG
|
||||||
m.EffectsArchery3_0=Damage+
|
m.EffectsArchery3_0=Damage+
|
||||||
m.EffectsArchery3_1=Modifies Damage
|
m.EffectsArchery3_1=Modifies Damage
|
||||||
m.EffectsArchery4_0=Arrow Retrieval
|
m.EffectsArchery4_0=Arrow Retrieval
|
||||||
|
@ -77,7 +77,7 @@ m.XPGainArchery=Ataque a monstruos
|
|||||||
m.EffectsArchery1_0=Ignicion
|
m.EffectsArchery1_0=Ignicion
|
||||||
m.EffectsArchery1_1=25% de posibilidades de que un enemigo arda en llamas
|
m.EffectsArchery1_1=25% de posibilidades de que un enemigo arda en llamas
|
||||||
m.EffectsArchery2_0=Aturdir (Jugadores)
|
m.EffectsArchery2_0=Aturdir (Jugadores)
|
||||||
m.EffectsArchery2_1=Desorienta a los enemigos
|
m.EffectsArchery2_1=Disorients foes and deals 4 DMG
|
||||||
m.EffectsArchery3_0=+ Daño
|
m.EffectsArchery3_0=+ Daño
|
||||||
m.EffectsArchery3_1=Modifica el daño
|
m.EffectsArchery3_1=Modifica el daño
|
||||||
m.EffectsArchery4_0=Recuperación de flecha
|
m.EffectsArchery4_0=Recuperación de flecha
|
||||||
|
@ -77,7 +77,7 @@ m.XPGainArchery=Hy
|
|||||||
m.EffectsArchery1_0=Sytytys
|
m.EffectsArchery1_0=Sytytys
|
||||||
m.EffectsArchery1_1=25% Todennäköisyys että vihollinen syttyy tuleen
|
m.EffectsArchery1_1=25% Todennäköisyys että vihollinen syttyy tuleen
|
||||||
m.EffectsArchery2_0=Pökerrys (Pelaajat)
|
m.EffectsArchery2_0=Pökerrys (Pelaajat)
|
||||||
m.EffectsArchery2_1=Saa viholliset pois tolaltaan
|
m.EffectsArchery2_1=Disorients foes and deals 4 DMG
|
||||||
m.EffectsArchery3_0=Vahinko+
|
m.EffectsArchery3_0=Vahinko+
|
||||||
m.EffectsArchery3_1=Muokkaa vahinkoa
|
m.EffectsArchery3_1=Muokkaa vahinkoa
|
||||||
m.EffectsArchery4_0=Nuolenkeräys
|
m.EffectsArchery4_0=Nuolenkeräys
|
||||||
|
@ -77,7 +77,7 @@ m.XPGainArchery=Attaquer les monstres
|
|||||||
m.EffectsArchery1_0=Allumage
|
m.EffectsArchery1_0=Allumage
|
||||||
m.EffectsArchery1_1=25% de chances que l'ennemi s'enflamme
|
m.EffectsArchery1_1=25% de chances que l'ennemi s'enflamme
|
||||||
m.EffectsArchery2_0=Étourdir (les joueurs)
|
m.EffectsArchery2_0=Étourdir (les joueurs)
|
||||||
m.EffectsArchery2_1=Étourdi les joueurs
|
m.EffectsArchery2_1=Disorients foes and deals 4 DMG
|
||||||
m.EffectsArchery3_0=Dégâts+
|
m.EffectsArchery3_0=Dégâts+
|
||||||
m.EffectsArchery3_1=Augmente les dégâts
|
m.EffectsArchery3_1=Augmente les dégâts
|
||||||
m.EffectsArchery4_0=Récupération de flèches
|
m.EffectsArchery4_0=Récupération de flèches
|
||||||
|
@ -77,7 +77,7 @@ m.XPGainArchery=Attacca mostri
|
|||||||
m.EffectsArchery1_0=Accensione
|
m.EffectsArchery1_0=Accensione
|
||||||
m.EffectsArchery1_1=25% La chance contro i nemici si accende
|
m.EffectsArchery1_1=25% La chance contro i nemici si accende
|
||||||
m.EffectsArchery2_0=Stordimento (Giocatori)
|
m.EffectsArchery2_0=Stordimento (Giocatori)
|
||||||
m.EffectsArchery2_1=Disorienta i nemici
|
m.EffectsArchery2_1=Disorients foes and deals 4 DMG
|
||||||
m.EffectsArchery3_0=Danno+
|
m.EffectsArchery3_0=Danno+
|
||||||
m.EffectsArchery3_1=Danni modificati
|
m.EffectsArchery3_1=Danni modificati
|
||||||
m.EffectsArchery4_0=Richiamo della freccia
|
m.EffectsArchery4_0=Richiamo della freccia
|
||||||
|
@ -83,7 +83,7 @@ m.XPGainArchery=Schiet op vijanden
|
|||||||
m.EffectsArchery1_0=Brandende pijl
|
m.EffectsArchery1_0=Brandende pijl
|
||||||
m.EffectsArchery1_1=25% kans dat een vijand verbrand
|
m.EffectsArchery1_1=25% kans dat een vijand verbrand
|
||||||
m.EffectsArchery2_0=Verdoof (Players)
|
m.EffectsArchery2_0=Verdoof (Players)
|
||||||
m.EffectsArchery2_1=Gedesorienteerde vijanden
|
m.EffectsArchery2_1=Disorients foes and deals 4 DMG
|
||||||
m.EffectsArchery3_0=Schade+
|
m.EffectsArchery3_0=Schade+
|
||||||
m.EffectsArchery3_1=Verhoogt schade
|
m.EffectsArchery3_1=Verhoogt schade
|
||||||
m.EffectsArchery4_0=Pijlen terugkrijgen
|
m.EffectsArchery4_0=Pijlen terugkrijgen
|
||||||
|
@ -77,7 +77,7 @@ m.XPGainArchery=Atakowanie potworow przy uzyciu luku.
|
|||||||
m.EffectsArchery1_0=Podpalenie
|
m.EffectsArchery1_0=Podpalenie
|
||||||
m.EffectsArchery1_1=25% szansa na podpalenie wroga.
|
m.EffectsArchery1_1=25% szansa na podpalenie wroga.
|
||||||
m.EffectsArchery2_0=Oszolomienie(Tylko na graczy)
|
m.EffectsArchery2_0=Oszolomienie(Tylko na graczy)
|
||||||
m.EffectsArchery2_1=Dezorientuje przeciwnika.
|
m.EffectsArchery2_1=Disorients foes and deals 4 DMG
|
||||||
m.EffectsArchery3_0=Wieksze obrazenia
|
m.EffectsArchery3_0=Wieksze obrazenia
|
||||||
m.EffectsArchery3_1=Zwieksza obrazenia zadawane lukiem.
|
m.EffectsArchery3_1=Zwieksza obrazenia zadawane lukiem.
|
||||||
m.EffectsArchery4_0=Odzyskiwanie strzal
|
m.EffectsArchery4_0=Odzyskiwanie strzal
|
||||||
|
@ -79,7 +79,7 @@ m.XPGainArchery=Atacando monstros/
|
|||||||
m.EffectsArchery1_0=Igniçao
|
m.EffectsArchery1_0=Igniçao
|
||||||
m.EffectsArchery1_1=25% de chance dos inimigos pegarem fogo
|
m.EffectsArchery1_1=25% de chance dos inimigos pegarem fogo
|
||||||
m.EffectsArchery2_0=Atordoar (Jogadores)
|
m.EffectsArchery2_0=Atordoar (Jogadores)
|
||||||
m.EffectsArchery2_1=Desorienta os adversários
|
m.EffectsArchery2_1=Disorients foes and deals 4 DMG
|
||||||
m.EffectsArchery3_0=+Dano
|
m.EffectsArchery3_0=+Dano
|
||||||
m.EffectsArchery3_1=Aumenta o Dano
|
m.EffectsArchery3_1=Aumenta o Dano
|
||||||
m.EffectsArchery4_0=Recuperar Flechas
|
m.EffectsArchery4_0=Recuperar Flechas
|
||||||
|
@ -77,7 +77,7 @@ m.XPGainArchery=
|
|||||||
m.EffectsArchery1_0=Поджёг
|
m.EffectsArchery1_0=Поджёг
|
||||||
m.EffectsArchery1_1=25% шанс, что цель подожгётся
|
m.EffectsArchery1_1=25% шанс, что цель подожгётся
|
||||||
m.EffectsArchery2_0=Шокирование(Игроков)
|
m.EffectsArchery2_0=Шокирование(Игроков)
|
||||||
m.EffectsArchery2_1=Дезориентирует врагов
|
m.EffectsArchery2_1=Disorients foes and deals 4 DMG
|
||||||
m.EffectsArchery3_0=Урон+
|
m.EffectsArchery3_0=Урон+
|
||||||
m.EffectsArchery3_1=Улучшает Урон
|
m.EffectsArchery3_1=Улучшает Урон
|
||||||
m.EffectsArchery4_0=Получение стрел
|
m.EffectsArchery4_0=Получение стрел
|
||||||
|
Loading…
Reference in New Issue
Block a user