Jump to content
  • 0

UseSkill function error


Question

Posted (edited)

as I read gf docs

 

UseSkill(CreatureData,int) 

 

taking 2 parameters but i get error when im using this function 

 

ssssss.jpg

 

im using this function like this: UseSkill(talker,20108) where 20108 is skill id.

 

but in error looks like its taking 20108 as skill level...

 

I tried UseSkill(talker,1,20108) but getting error when compiling ai, about parameters, it requres 2 parameters only.

 

whats is happening?

 

skill is mystic set of buffs and i want to player get buffet from server buffer.

 

skill_begin	skill_name=[s_server_buffer_mystic]	skill_id=20108	level=1	operate_type=A2	magic_level=1	effect={{i_call_skill;[s_improve_movement1]};{i_call_skill;[s_improve_combat1]};{i_call_skill;[s_improve_condition1]};{i_call_skill;[s_improve_magic1]};{i_call_skill;[s_improve_shield_defence1]};{i_call_skill;[s_wild_magic2]};{i_call_skill;[s_mental_shield4]};{i_call_skill;[s_arcane_acumen3]};{i_call_skill;[s_clarity3]};{i_call_skill;[s_greater_shield3]};{i_call_skill;[s_chant_of_magnus1]}}	is_magic=3	mp_consume2=0	cast_range=900	effective_range=1800	skill_hit_time=0	skill_cool_time=0	skill_hit_cancel_time=0	reuse_delay=0	attribute={attr_none;0}	trait={trait_none}	effect_point=523	target_type=target	affect_scope=single	affect_limit={0;0}	next_action=none	debuff=0	ride_state={@ride_none}	multi_class=0	olympiad_use=0	skill_end

 

Edited by girogius

3 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock