Daze now deals 4 DMG on proc to help make Archery hit harder

This commit is contained in:
nossr50 2012-04-04 07:59:37 -07:00
parent 06c3a588bf
commit 398f8c4318
13 changed files with 13 additions and 12 deletions

View File

@ -9,6 +9,7 @@ Key:
Version 1.3.06-dev
+ 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 PlayerProfile constructor to always take a boolean
+ Changed getPlayerProfile funtion to work for online & offline users

View File

@ -204,10 +204,8 @@ public class Combat {
/* 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...
//System.out.println("DEBUG 0: "+event.getDamage());
int archeryBonus = (int)(event.getDamage() * dmgBonusPercent);
event.setDamage(event.getDamage() + archeryBonus);
//System.out.println("DEBUG 1: "+event.getDamage());
if (mcPermissions.getInstance().trackArrows(attacker)) {
Archery.trackArrows(pluginx, target, PPa);

View File

@ -8,6 +8,7 @@ import org.bukkit.entity.Entity;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import com.gmail.nossr50.Combat;
import com.gmail.nossr50.Users;
import com.gmail.nossr50.m;
import com.gmail.nossr50.mcMMO;
@ -62,6 +63,7 @@ public class Archery {
if (random.nextInt(2000) <= skillCheck && mcPermissions.getInstance().daze(attacker)) {
defender.teleport(loc);
Combat.dealDamage(defender, 4);
defender.sendMessage(mcLocale.getString("Combat.TouchedFuzzy"));
attacker.sendMessage(mcLocale.getString("Combat.TargetDazed"));
}

View File

@ -76,7 +76,7 @@ m.XPGainArchery=[[YELLOW]]Monster/Spieler angreifen
m.EffectsArchery1_0=[[YELLOW]]Entzuenden
m.EffectsArchery1_1=[[AQUA]]25% Chance das Feind Feuer faengt
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_1=[[AQUA]]Modifiziert Schaden
m.EffectsArchery4_0=[[YELLOW]]Pfeil Rueckgewinnung

View File

@ -76,7 +76,7 @@ m.XPGainArchery=Attacking Monsters
m.EffectsArchery1_0=Skill Shot
m.EffectsArchery1_1=Increases damage done by Bows
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_1=Modifies Damage
m.EffectsArchery4_0=Arrow Retrieval

View File

@ -77,7 +77,7 @@ m.XPGainArchery=Ataque a monstruos
m.EffectsArchery1_0=Ignicion
m.EffectsArchery1_1=25% de posibilidades de que un enemigo arda en llamas
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_1=Modifica el daño
m.EffectsArchery4_0=Recuperación de flecha

View File

@ -77,7 +77,7 @@ m.XPGainArchery=Hy
m.EffectsArchery1_0=Sytytys
m.EffectsArchery1_1=25% Todennäköisyys että vihollinen syttyy tuleen
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_1=Muokkaa vahinkoa
m.EffectsArchery4_0=Nuolenkeräys

View File

@ -77,7 +77,7 @@ m.XPGainArchery=Attaquer les monstres
m.EffectsArchery1_0=Allumage
m.EffectsArchery1_1=25% de chances que l'ennemi s'enflamme
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_1=Augmente les dégâts
m.EffectsArchery4_0=Récupération de flèches

View File

@ -77,7 +77,7 @@ m.XPGainArchery=Attacca mostri
m.EffectsArchery1_0=Accensione
m.EffectsArchery1_1=25% La chance contro i nemici si accende
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_1=Danni modificati
m.EffectsArchery4_0=Richiamo della freccia

View File

@ -83,7 +83,7 @@ m.XPGainArchery=Schiet op vijanden
m.EffectsArchery1_0=Brandende pijl
m.EffectsArchery1_1=25% kans dat een vijand verbrand
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_1=Verhoogt schade
m.EffectsArchery4_0=Pijlen terugkrijgen

View File

@ -77,7 +77,7 @@ m.XPGainArchery=Atakowanie potworow przy uzyciu luku.
m.EffectsArchery1_0=Podpalenie
m.EffectsArchery1_1=25% szansa na podpalenie wroga.
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_1=Zwieksza obrazenia zadawane lukiem.
m.EffectsArchery4_0=Odzyskiwanie strzal

View File

@ -79,7 +79,7 @@ m.XPGainArchery=Atacando monstros/
m.EffectsArchery1_0=Igniçao
m.EffectsArchery1_1=25% de chance dos inimigos pegarem fogo
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_1=Aumenta o Dano
m.EffectsArchery4_0=Recuperar Flechas

View File

@ -77,7 +77,7 @@ m.XPGainArchery=
m.EffectsArchery1_0=Поджёг
m.EffectsArchery1_1=25% шанс, что цель подожгётся
m.EffectsArchery2_0=Шокирование(Игроков)
m.EffectsArchery2_1=Дезориентирует врагов
m.EffectsArchery2_1=Disorients foes and deals 4 DMG
m.EffectsArchery3_0=Урон+
m.EffectsArchery3_1=Улучшает Урон
m.EffectsArchery4_0=Получение стрел