Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] how to make a zone instant logout?

[DiscordArchive] how to make a zone instant logout?

[DiscordArchive] how to make a zone instant logout?

Pages (3): Previous 1 2 3
rektbyfaith
Administrator
0
03-14-2020, 10:42 PM
#21
Archived author: Viste • Posted: 2020-03-14T22:42:10.515000+00:00
Original source

to recalculate spellpower )
rektbyfaith
03-14-2020, 10:42 PM #21

Archived author: Viste • Posted: 2020-03-14T22:42:10.515000+00:00
Original source

to recalculate spellpower )

rektbyfaith
Administrator
0
03-14-2020, 10:42 PM
#22
Archived author: Viste • Posted: 2020-03-14T22:42:35.800000+00:00
Original source

and its just a variable )
rektbyfaith
03-14-2020, 10:42 PM #22

Archived author: Viste • Posted: 2020-03-14T22:42:35.800000+00:00
Original source

and its just a variable )

rektbyfaith
Administrator
0
03-14-2020, 10:44 PM
#23
Archived author: Viste • Posted: 2020-03-14T22:44:40.007000+00:00
Original source

ApplySpellPowerBonus used for add some bonus )
rektbyfaith
03-14-2020, 10:44 PM #23

Archived author: Viste • Posted: 2020-03-14T22:44:40.007000+00:00
Original source

ApplySpellPowerBonus used for add some bonus )

rektbyfaith
Administrator
0
03-14-2020, 10:44 PM
#24
Archived author: Viste • Posted: 2020-03-14T22:44:45.606000+00:00
Original source

from item for example
rektbyfaith
03-14-2020, 10:44 PM #24

Archived author: Viste • Posted: 2020-03-14T22:44:45.606000+00:00
Original source

from item for example

rektbyfaith
Administrator
0
03-14-2020, 10:44 PM
#25
Archived author: ghibly79 • Posted: 2020-03-14T22:44:58.094000+00:00
Original source

In StatSystem.cpp there's this code with comments:
rektbyfaith
03-14-2020, 10:44 PM #25

Archived author: ghibly79 • Posted: 2020-03-14T22:44:58.094000+00:00
Original source

In StatSystem.cpp there's this code with comments:

rektbyfaith
Administrator
0
03-14-2020, 10:45 PM
#26
Archived author: ghibly79 • Posted: 2020-03-14T22:45:01.844000+00:00
Original source

void Player::UpdateSpellDamageAndHealingBonus()
{
// Magic damage modifiers implemented in Unit::SpellDamageBonusDone
// This information for client side use only
// Get healing bonus for all schools
SetStatInt32Value(PLAYER_FIELD_MOD_HEALING_DONE_POS, SpellBaseHealingBonusDone(SPELL_SCHOOL_MASK_ALL));
// Get damage bonus for all schools
for (int i = SPELL_SCHOOL_HOLY; i < MAX_SPELL_SCHOOL; ++i)
SetStatInt32Value(PLAYER_FIELD_MOD_DAMAGE_DONE_POS+i, SpellBaseDamageBonusDone(SpellSchoolMask(1 << i)));
}
rektbyfaith
03-14-2020, 10:45 PM #26

Archived author: ghibly79 • Posted: 2020-03-14T22:45:01.844000+00:00
Original source

void Player::UpdateSpellDamageAndHealingBonus()
{
// Magic damage modifiers implemented in Unit::SpellDamageBonusDone
// This information for client side use only
// Get healing bonus for all schools
SetStatInt32Value(PLAYER_FIELD_MOD_HEALING_DONE_POS, SpellBaseHealingBonusDone(SPELL_SCHOOL_MASK_ALL));
// Get damage bonus for all schools
for (int i = SPELL_SCHOOL_HOLY; i < MAX_SPELL_SCHOOL; ++i)
SetStatInt32Value(PLAYER_FIELD_MOD_DAMAGE_DONE_POS+i, SpellBaseDamageBonusDone(SpellSchoolMask(1 << i)));
}

rektbyfaith
Administrator
0
03-14-2020, 10:45 PM
#27
Archived author: Viste • Posted: 2020-03-14T22:45:41.384000+00:00
Original source

its just for update data in client
rektbyfaith
03-14-2020, 10:45 PM #27

Archived author: Viste • Posted: 2020-03-14T22:45:41.384000+00:00
Original source

its just for update data in client

rektbyfaith
Administrator
0
03-14-2020, 10:45 PM
#28
Archived author: Viste • Posted: 2020-03-14T22:45:50.676000+00:00
Original source

that alredy calculate by server side
rektbyfaith
03-14-2020, 10:45 PM #28

Archived author: Viste • Posted: 2020-03-14T22:45:50.676000+00:00
Original source

that alredy calculate by server side

rektbyfaith
Administrator
0
03-14-2020, 10:45 PM
#29
Archived author: ghibly79 • Posted: 2020-03-14T22:45:52.866000+00:00
Original source

I tried looking into Unit.cpp for SpellDamageBonusDone but can't figure out how the calculation is done
rektbyfaith
03-14-2020, 10:45 PM #29

Archived author: ghibly79 • Posted: 2020-03-14T22:45:52.866000+00:00
Original source

I tried looking into Unit.cpp for SpellDamageBonusDone but can't figure out how the calculation is done

rektbyfaith
Administrator
0
03-14-2020, 10:46 PM
#30
Archived author: ghibly79 • Posted: 2020-03-14T22:46:01.522000+00:00
Original source

Ah, I see
rektbyfaith
03-14-2020, 10:46 PM #30

Archived author: ghibly79 • Posted: 2020-03-14T22:46:01.522000+00:00
Original source

Ah, I see

Pages (3): Previous 1 2 3
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)