Another balancing round
- sp are refilled when dying - increased hp regen - bubbles are now bigger - decreased death twirl cooldown by 1s
This commit is contained in:
parent
27b105c171
commit
5a1a4bb91c
@ -176,6 +176,10 @@ function set_callbacks(class)
|
||||
|
||||
killer_class:on_kill(arena, killer_name, pl_name)
|
||||
end
|
||||
|
||||
if pl_name:has_skill("fbrawl:sp") then
|
||||
pl_name:get_skill("fbrawl:sp"):add(100)
|
||||
end
|
||||
end
|
||||
|
||||
class.on_end = function(self, arena, pl_name)
|
||||
|
@ -11,7 +11,7 @@ fbrawl.register_class("mage", {
|
||||
},
|
||||
items = {"fantasy_brawl:mage_staff", "fantasy_brawl:fire_sprint", "fantasy_brawl:enchanted_coat", "fantasy_brawl:gaia_fist", "fantasy_brawl:cry_of_gaia"},
|
||||
skills = {"fbrawl:mage_staff", "fbrawl:ice_spikes", "fbrawl:bubble_beam", "fbrawl:fire_sprint", "fbrawl:enchanted_coat", "fbrawl:gaia_fist", "fbrawl:cry_of_gaia"},
|
||||
hp_regen_rate = 3
|
||||
hp_regen_rate = 2.7
|
||||
})
|
||||
|
||||
|
||||
|
@ -15,7 +15,6 @@ skillz.register_skill("fbrawl:bubble_beam", {
|
||||
},
|
||||
cast = function(self)
|
||||
local cast_starting_pos = vector.add({x=0, y=0.9, z=0}, self.player:get_pos())
|
||||
cast_starting_pos = vector.subtract(cast_starting_pos, self.player:get_look_dir() * 2)
|
||||
|
||||
minetest.add_entity(cast_starting_pos, "fantasy_brawl:bubble_beam", self.pl_name)
|
||||
end
|
||||
@ -31,11 +30,11 @@ local bubble_beam = {
|
||||
collide_with_objects = false,
|
||||
collisionbox = {-0.1, -0.1, -0.1, 0.1, 0.1, 0.1},
|
||||
visual = "sprite",
|
||||
visual_size = {x = 1.2, y = 1.2},
|
||||
visual_size = {x = 1.5, y = 1.5},
|
||||
textures = {"fbrawl_bubble_entity.png"},
|
||||
initial_sprite_basepos = {x = 0, y = 0},
|
||||
speed = 50,
|
||||
range = 1.5,
|
||||
range = 1.8,
|
||||
damage = 2
|
||||
},
|
||||
pl_name = "",
|
||||
@ -77,8 +76,8 @@ function bubble_beam:on_activate(staticdata, dtime_s)
|
||||
maxpos = {x = 0.2, y = 0.2, z = 0.2},
|
||||
minvel = {x = 0, y = -0.3, z = 0},
|
||||
maxvel = {x = 0, y = -0.3, z = 0},
|
||||
minsize = 4,
|
||||
maxsize = 6,
|
||||
minsize = 6,
|
||||
maxsize = 9,
|
||||
texture = {
|
||||
name = "fbrawl_bubble_entity.png",
|
||||
alpha_tween = {1, 0}
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
skillz.register_skill("fbrawl:death_twirl", {
|
||||
name = "Death Twirl",
|
||||
cooldown = 8,
|
||||
cooldown = 7,
|
||||
damage = 4,
|
||||
force = 26,
|
||||
max_damage = 4,
|
||||
|
@ -44,7 +44,7 @@ skillz.register_skill("fbrawl:warrior_jump", {
|
||||
})
|
||||
|
||||
self.pl_name:unlock_skill("fbrawl:smash")
|
||||
minetest.after(0.4, function() self.pl_name:start_skill("fbrawl:smash") end)
|
||||
minetest.after(0.2, function() self.pl_name:start_skill("fbrawl:smash") end)
|
||||
|
||||
return true
|
||||
end,
|
||||
|
@ -12,7 +12,7 @@ fbrawl.register_class("warrior", {
|
||||
},
|
||||
items = {"fantasy_brawl:sword_steel", "fantasy_brawl:warrior_jump", "fantasy_brawl:iron_skin", "fantasy_brawl:perfect_combo", "fantasy_brawl:hero_fury"},
|
||||
skills = {"fbrawl:sword_steel", "fbrawl:death_twirl", "fbrawl:warrior_jump", "fbrawl:iron_skin", "fbrawl:perfect_combo", "fbrawl:hero_fury",},
|
||||
hp_regen_rate = 1.5
|
||||
hp_regen_rate = 1.2
|
||||
})
|
||||
|
||||
dofile(minetest.get_modpath("fantasy_brawl") .. "/_classes/warrior/items.lua")
|
||||
|
@ -20,6 +20,7 @@ There's not enough space here!=Non c'è abbastanza spazio qui!
|
||||
You have @1 seconds to choose your class=Hai @1 secondi per scegliere la tua classe
|
||||
Wait for everyone to choose their class=Aspetta che tutti scelgano la propria classe
|
||||
|
||||
|
||||
# Mage
|
||||
|
||||
Mage=Mago
|
||||
|
Loading…
x
Reference in New Issue
Block a user