Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   Mob skills (https://postpacific.loc-online.com/showthread.php?t=2368)

RmzVoid 26.10.2005 23:51

Mob skills
 
skill in skilldata.txt:
Code:

skill_begin        skill_name = [s_npc_burn6]        skill_id = 4033        level = 6        operate_type = A1        magic_level = 60        effect = {{i_m_attack;85}}        is_magic = 1        mp_consume1 = 17        mp_consume2 = 66        cast_range = -1        effective_range = -1        skill_hit_time = 4        skill_cool_time = 0        skill_hit_cancel_time = 3.5        reuse_delay = 8        attribute = attr_none        effect_point = -100        target_type = self        affect_scope = point_blank        affect_range = 200        affect_object = not_friend        next_action = none        skill_end
1) is this skill same as Aura Burn?
if yes
2) Why cast_range=-1, effective_range=-1, attribute=attr_none instead attr_water, target_type=self, affect_scope=point_blank?
if no
3) what this skill should do? damage skill owner?

why I ask this? Mob which cast this skill (Immortal Savior Mardil) dont want cast spell and fight, only cast or only fight. Another mob [domb_death_cabrio] with s_npc_power_strike use the skill and fight normally.

I think problem in s_npc_burn skill, it is bugged in my skillpack.

And last question: should I add npc active skills in magic_list={} in npcdata or not? Confirm please. I saw if I dont add s_npc_power_strike to magic_list of [domb_death_cabrio] npc use skill only once and then skill never be recharged. Skill_InReuseDelay always return not null. IMHO. Confirm this somebody?

RmzVoid 26.10.2005 23:57

I look in [krator] npcdata. it not have magic_list
Code:

skill_list={@s_strong_to_bow;@s_strong_to_mdamage}        magic_list={}
, but use DDMagic s_mega_storm_strike4. I completely dont understand. Confused...

Flamestrike 27.10.2005 01:04

I think the krator uses the skill from the AI.obj or smth.

filrip 27.10.2005 01:24

skill_list represent caracteristik of mob no ? like "vulnerable to archery attack" or others like that. icons that we can see when select mob, under his name... i m not sure, just an idea, a supposition

Osito2Dancer 27.10.2005 04:05

Re: Mob skills
 
Quote:

Originally Posted by RmzVoid
skill in skilldata.txt:
Code:

skill_begin        skill_name = [s_npc_burn6]        skill_id = 4033        level = 6        operate_type = A1        magic_level = 60        effect = {{i_m_attack;85}}        is_magic = 1        mp_consume1 = 17        mp_consume2 = 66        cast_range = -1        effective_range = -1        skill_hit_time = 4        skill_cool_time = 0        skill_hit_cancel_time = 3.5        reuse_delay = 8        attribute = attr_none        effect_point = -100        target_type = self        affect_scope = point_blank        affect_range = 200        affect_object = not_friend        next_action = none        skill_end
1) is this skill same as Aura Burn?
if yes
2) Why cast_range=-1, effective_range=-1, attribute=attr_none instead attr_water, target_type=self, affect_scope=point_blank?
if no
3) what this skill should do? damage skill owner?

why I ask this? Mob which cast this skill (Immortal Savior Mardil) dont want cast spell and fight, only cast or only fight. Another mob [domb_death_cabrio] with s_npc_power_strike use the skill and fight normally.

I think problem in s_npc_burn skill, it is bugged in my skillpack.

And last question: should I add npc active skills in magic_list={} in npcdata or not? Confirm please. I saw if I dont add s_npc_power_strike to magic_list of [domb_death_cabrio] npc use skill only once and then skill never be recharged. Skill_InReuseDelay always return not null. IMHO. Confirm this somebody?

That skill is like blazing circle, not aura burn. It hits all surrounding enemies. Ill explain why:

Why cast_range=-1, effective_range=-1, attribute=attr_none instead attr_water, target_type=self, affect_scope=point_blank?

cast_range=-1 < It doesnt have a range of effect. You just cast it without a target
effective_range=-1 < the same here
attribute=attr_none < its a "element indicator". you can put any attr here, but edit it accordingly on pch2
target_type=self < you cast it on yourself
affect_scope=point_blank < affects all that is on its range
affect_range=300 <range of affect_scope.
affect_object = not_friend < which targets to affect

Remember: Affect scope can be single, range, fan, point_blank and i think some more. The part that controls which targets does the skill hit comes in affect_object.

In resume: This skill hits all surrounding enemies that are on the 300 radius. It doesnt hit the caster, just the surroundings.

Atte

Oso

RmzVoid 27.10.2005 04:44

Great Thanks Osito!

Saved as manual for me :)

top-gear 27.10.2005 08:43

Remember: Affect scope can be single, range, fan, point_blank and i think some more. The part that controls which targets does the skill hit comes in affect_object.


can you explain a bit more the differences between those?:)

HF 27.10.2005 08:53

All variable examples can find in skilldata :)

You can see all affect_scope and affect_object in my tool.

About upper post. I think what have error in skill.
point_blank affect on all in range. No can use affect_object=not_friend for it. It no be work. Need use =range , if you use damage range skill and you in party and etc.

RmzVoid 28.10.2005 02:59

skill work perfectly.
I just use AddUseSkillDesire(attacker,...
And shold use AddUseSkillDesire(myself.sm,...

In first case mob just cast spell any time it recharges dont attack after, in second case all works fine.

2 HF
I remake skill and test it later... it works for me as is.

Osito2Dancer 28.10.2005 03:25

Quote:

Originally Posted by HF
All variable examples can find in skilldata :)

You can see all affect_scope and affect_object in my tool.

About upper post. I think what have error in skill.
point_blank affect on all in range. No can use affect_object=not_friend for it. It no be work. Need use =range , if you use damage range skill and you in party and etc.

Check skill "Blazing Circle". It has a "point_blank" and a "not_friend" clause.

Oso

RmzVoid 28.10.2005 04:24

range uses for skills such as Flame Strike

Osito2Dancer 28.10.2005 04:30

Quote:

Originally Posted by RmzVoid
range uses for skills such as Flame Strike

All skills that are meant to be casted from a distance and affect all the surroundings of a target, need to have "range". point_blank = All around me. range = All around the target!

I know, im mastering in saying the obvious xD.

Oso


All times are GMT. The time now is 15:48.