Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for b,c,a,d in strgfind(msg, "Вы наносите (.+) (%d+) ед%. урона(.*)%.%s?(.*)") do
- if a ~= ": критический удар" then t[1]=1;t[2]=0
- if d == "(glancing)" then t[3]=1;t[1]=0;t[2]=0 elseif d ~= "" then t[4]=1;t[1]=0;t[2]=0 end
- DB:EnemyDamage(true, DPSMateEDT, self.player, "AutoAttack", t[1] or 0, t[2] or 1, 0, 0, 0, 0, tnbr(c), b, t[4] or 0, t[3] or 0)
- DB:DamageDone(self.player, "AutoAttack", t[1] or 0, t[2] or 1, 0, 0, 0, 0, tnbr(c), t[3] or 0, t[4] or 0)
- if self.TargetParty[b] then DB:BuildFail(1, b, self.player, "AutoAttack", tnbr(c));DB:DeathHistory(b, self.player, "AutoAttack", tnbr(c), t[1] or 0, t[2] or 1, 0, 0) end
- return
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement