PDA

View Full Version : Special Abillity


Sundh
10.10.2005, 19:36
ok tested my SA's and got alot working now , but i cant get my cheapshot to work, anyone that knows the effect that i should use to get it to work ?

hoho324
10.10.2005, 23:32
just goto the bow you want cheap shot on in itemdata...for examply the bow of peril...

item_begin weapon 4830 [hazard_bow_cheapshot] item_type=weapon slot_bit_type={lrhand} armor_type=none etcitem_type=none blessed=0 weight=1700 default_action=action_equip consume_type=consume_type_normal initial_count=1 maximum_count=1 soulshot_count=3 spiritshot_count=1 immediate_effect=1 price=0 default_price=13100000 item_skill=[none] critical_attack_skill=[none] material_type=blood_steel crystal_type=b crystal_count=1746 is_trade=1 is_drop=1 is_destruct=1 physical_damage=400 random_damage=5 weapon_type=bow can_penetrate=0 critical=12 hit_modify=-3.75 avoid_modify=0 dual_fhit_rate=0 shield_defense=0 shield_defense_rate=0 attack_range=500 effective_range=600 damage_range={0;0;10;0} attack_speed=293 reuse_delay=1500 mp_consume=6 magical_damage=99 durability=97 damaged=0 physical_defense=0 magical_defense=0 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={0} magic_weapon=0 item_end

lower the mp_consume basically..

khul
12.10.2005, 04:18
That is an insteresting way to solve the problem , even if it is not what it is supposed to be , it is preety alike :)

I have 1 question on this matter.....is there a way to edit a already existing SA ? i mean....if for some reason i want to invent a new SA for example i duno..a dagger that cast self-heal when hp goes below 50% or something stupid like that.

How can it be done ? any knows?
Do i need to hex something ? where is the file whit this info ?

Thanks =)

RmzVoid
12.10.2005, 04:56
make appropriate skill, and operate_cond <50% hp and set to weapon skill.

khul
12.10.2005, 06:36
ok . lets say i make a Halbard with "critical heal" SA , when hitting a critical hit weapon cast heal on weapons owner , such as there are critical stunt or critical drains....

i modify itemdata.txt :


item_begin weapon 5999 [_halbard_crt_SELFHEAL] item_type=weapon immediate_effect=1 item_skill=[none] critical_attack_skill=[s_critical_SELFHEAL] physical_damage=213 random_damage=10 weapon_type=pole can_penetrate=0 critical=8 html=[item_default.htm] item_end

and skilldata.txt :

skill_begin skill_name = [s_critical_SELFHEAL] /* [?? ?] */ skill_id = 9999 level = 1 operate_type = A1 magic_level = 1 effect = {{i_heal;800}} effective_range = -1 skill_hit_time = 1 skill_cool_time = 0 skill_hit_cancel_time = 0.1 reuse_delay = 5 activate_rate = 10 attribute = attr_none effect_point = 10 target_type = self skill_end

So this would get a 800 pts. healing weapon with a 10% chance of healing. But ....

1=Problem is ...how do i set the activation of skill as activated by hitting a critical hit ? =S Where do i find the codes of already existing SA to copy the code from them ?

2=Besides modifing in this 2 files ...wich other files would have to be modified ?
In client files :weapongrp and itemnamegrp ....any other ?

thanks for you patient =)

Osito2Dancer
12.10.2005, 16:05
1=Problem is ...how do i set the activation of skill as activated by hitting a critical hit ? > critical_attack_skill=[s_critical_SELFHEAL]. When you hit a critical, there it goes!