[DiscordArchive] how to make a zone instant logout?
[DiscordArchive] how to make a zone instant logout?
Archived author: Viste • Posted: 2020-03-14T22:32:08.353000+00:00
Original source
you need find how the int rize thi spell crit chance and make same but for spell power
Archived author: Viste • Posted: 2020-03-14T22:32:15.030000+00:00
Original source
i guess
Archived author: Viste • Posted: 2020-03-14T22:32:54.993000+00:00
Original source
and you need StatSystem Unit Player Object and Spell cpp/h i guess
Archived author: Viste • Posted: 2020-03-14T22:35:34.402000+00:00
Original source
```
float Player::GetSpellCritFromIntellect()
``` in player.cpp good point to start
Archived author: Viste • Posted: 2020-03-14T22:35:48.051000+00:00
Original source
Archived author: Viste • Posted: 2020-03-14T22:38:13.393000+00:00
Original source
also its funny but trinity doc( https://trinitycore.net/index.html ) helps a bit (in many cases stuct of cores are similar )
Archived author: ghibly79 • Posted: 2020-03-14T22:41:03.782000+00:00
Original source
Yes I'm trying to figure out, but my programming knowledge is limited. Maybe a solution can be creating some function that mods m_baseSpellPower based on intellect.
m_baseSpellPower is then used in unit.cpp to calculate real damage of spells (I think xD).
Archived author: ghibly79 • Posted: 2020-03-14T22:41:29.862000+00:00
Original source
I'd still need some help to implement it
Archived author: Viste • Posted: 2020-03-14T22:41:52.207000+00:00
Original source
`m_baseSpellPower` used for instances )
Archived author: ghibly79 • Posted: 2020-03-14T22:42:03.167000+00:00
Original source
:/