![]() |
|
|
#20 |
|
Архивный участник
Join Date: Apr 2005
Posts: 127
|
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);
}
}
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. |
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|