I 'm chinese player, charoxuan and me translate your addon and post it on
http://bbs.3dmgame.com/thread-2862644-1-1.html
Many people are very interested in this metaclass addon.
thank you very much.
i have some questions
1.
Every talent point invested in the Phoenix Wings tree grants 1 point of fire damage when hit
on hit?
or
on takehit?
it did work on takehit,is that true?
2.
improves Fear Resistance and Blindness Resistance by 3%
self.blind_immune = (self.fear_blind or 0) + 0.03
maybe
self.blind_immune = (self.blind_immune or 0) + 0.03
3.
and allowed you to fall 10 more hit points below 0 before dying
Code: Select all
on_learn = function(self, t)
self.die_at = self.die_at + 10
end,
on_unlearn = function(self, t)
self.die_at = self.die_at - 10
end,
4.
timed_effects.lua
WINGS_OF_PROTECTION
did it work now?
5.
Light of Vigor
Your Light of Healing also increases the target's regeneration rate by 10%% of the healing for %d turns
only increases HP regen, is that true?
6.
load.lua
Code: Select all
-- Figure out how much we CAN absorb
if mana <= (self.max_mana * 0.1) then
mana_val = 0
absorb = 0
game.logPlayer(self, "Not enough mana to absorb.")
end
if mana - mana_val < (self.max_mana * 0.1) then
mana_val_tmp = (mana - (self.max_nana * 0.1))
fullvalue = absorb
mpct = mana_val_tmp / mana_val
absorb = math.floor(absorb * mpct)
mana_val = math.floor(mana_val_tmp)
game.logPlayer(self, "Can't absorb the full value ("..fullvalue.."),try to absorb ("..mpct.."%) value ("..absorb..").")
end
how about this
7.
magical-combat.lua
Code: Select all
to = self.T_HEALING_LIGHT
if self:knowTalent(to) and mana > self:getTalentFromId(to).mana * fatigue and not self:isTalentCoolingDown(to) then
if self.life < (self.max_life * 0.75) then
spells[#spells+1] = to
end
if self.life < (self.max_life * 0.5) then
spells[#spells+1] = to
spells[#spells+1] = to
end
if self.life < (self.max_life * 0.25) then
spells[#spells+1] = to
spells[#spells+1] = to
spells[#spells+1] = to
end
end
Code: Select all
to = self.T_SPELLSURGE
if self:knowTalent(to) and not self:isTalentCoolingDown(to) then
spells[#spells+1] = to
if self.mana < (self.max_mana * 0.75) then
spells[#spells+1] = to
end
if self.mana < (self.max_mana * 0.5) then
spells[#spells+1] = to
spells[#spells+1] = to
end
if self.mana < (self.max_mana * 0.25) then
spells[#spells+1] = to
spells[#spells+1] = to
spells[#spells+1] = to
end
end
how about this