What's new

FIX na magic effect (przy uderzeniu GM czarem obszarowym)

Status
Not open for further replies.

iphone733

User
Joined
May 4, 2009
Messages
23
Reaction score
0
Autor: marcelllo2
?r?d?o:

Tak jak w nazwie tematu. Poprawka ta jest nie du?a a przydatna (gdy GM stoi na niewidce i kto? u?ywa czar?w obszarowych to nie wida? uderzenia :D

A wi?c w magic.cpp w funkcji:
Code:
void MagicEffectAreaClass::getMagicEffect(Player* spectator, const Creature* attacker, const Creature* target,
	const Position& pos, int damage, bool isPz, bool isBlocking) const

zamie?:
Code:
if(target != NULL)
na:
Code:
if(target != NULL && target->access < g_config.ACCESS_PROTECT) {

Nie widzia?em tego kodu jeszcze tutaj a my?l? ?e komu? si? przyda.
 
Status
Not open for further replies.
Top