igroglaz / srvmgr

https://rom2.ru
8 stars 5 forks source link

add mage dmg modificator in PvP #58

Closed igroglaz closed 4 years ago

igroglaz commented 4 years ago

to make mage more viable in PvP: to add damage multiplicator for mage's spells which will work only on other players in PvP, but monsters will receive the same damage as it written in data.

ZZYZX said that it's possible to do @ OnDamage:

if (player1 && player2 && !*(uint32_t*)(player1+0x2C) && !*(uint32_t*)(player2+0x2C) &&
    (*(uint8_t*)(unit1+0x4C) & 4))
    damage *= 3;
serg-bloim commented 4 years ago

What is the relation between this user story and that one #19 If we implement #19 , do we need this one?

P.S. I do not propose to start working on #19 or close/delete the current issue.

igroglaz commented 4 years ago

I suppose both tickets are relevant. Resistances limits for classes will help to make classes more diverse; while mage PvP dmg mod will help to make mages alright in PvP finally..

igroglaz commented 4 years ago

https://github.com/serg-bloim/srvmgr/commit/7b0a3d43af825ddeac5070451ad91e1940f9f255