Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
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  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 20:37.