View Single Post
Old 26.04.2006, 14:14   #20
TuMBLer
Архивный участник
 
Join Date: Apr 2005
Posts: 127
Default

btw
on oficial servers some mobs use only magic. no physical attack.
ive make som changes in warrior_casting_ddmagic and create new class

here is example

Code:
EventHandler ATTACKED(attacker, damage)
	{

	{
		if(attacker.is_pc != 0 || IsInCategory(@summon_npc_group, attacker.npc_class_id))
			AddUseSkillDesire(attacker, DDMagic, @ST_ATTACK, @AMT_MOVE_TO_TARGET, 1000000);
			AddAttackDesire(attacker, @AMT_MOVE_TO_TARGET, (damage/myself.sm.max_hp/0.05) * 100);
	}



	}
mob strikes back magic attack.
but skills have reload time and when skill is reloading mob hit by physical attack.

ive createt special class and replace all warrior_casting_ddmagic with that. and aggro to.
looks nice.
TuMBLer is offline