PDA

View Full Version : two-handed weapon vs dulas...


drzoom
29.01.2006, 13:39
Have a question to all...
[Crush of Doom]
[Strong attack that consumes user's HP. Usable when a two-handed weapon is equipped. Power 2120. Over-hit is possible.]

and

[Two-handed Weapon Mastery]
[Increases P. Atk. and Accuracy when one is using a two-handed type sword or a two-handed type blunt weapon.]

But. In skilldata i have this:

skill_begin skill_name=[s_two-handed_weapon_mastery12] skill_id=293 level=2 operate_type=P effect={{p_physical_attack;{dual};43;diff};{p_hit; {dual};2;diff}} skill_end


{dual} - means skill will work only with dual weapon, such as stormbringer*stormbringer. But also it should work with dragon_slayer for exmample... Punch of Doom skill - same problem. Has somebody solved it?

jencxxl
29.01.2006, 14:13
quick fix would be to change 2 handed swords to duals ;) but like i said just just a quick work around ..

Himmel
29.01.2006, 16:50
[Fix]
As we know, there is a useless type of weapons called "etc". We can use it.
skilldata.txt:
We have to set etc instead of dual. Let's do it...
effect = {{p_physical_attack;{etc};param;diff};{p_hit;{etc} ;param;diff}}

itemdata.txt:
Now we have to set etc type to every two-handed weapon. In itemdata every two-handed weapon have a sword type. How to recognise two-handed weapon is or simple sword. Simply. Look for slot_bit_type. Two-handed weapons have slot_bit_type={lrhand}. But still, here's the list of two-handed swords:
Red Sunset Sword, Brandish, Old knight's sword, two-handed sword, claymore, flamberge, great sword, dragon slayer. We have to set etc type to all of these weapons.
weapon_type=etc

Done. Use it!
Если неясно - могу перевести...

Met45
29.01.2006, 16:59
or u use this...


skill_begin skill_name = [s_crush_of_doom1] /* [c3 skill] */ skill_id = 315 level = 1 operate_type = A1 magic_level = 38 effect = {{i_p_attack_over_hit;2120}} operate_cond = {{equip_weapon;{sword}}} is_magic = 0 mp_consume2 = 0 hp_consume = 299 cast_range = 40 effective_range = 200 skill_hit_time = 1.62 skill_cool_time = 1 skill_hit_cancel_time = 0.5 reuse_delay = 15 attribute = attr_none effect_point = -653 target_type = enemy affect_scope = single next_action = none skill_end


witht his u do not have to change all ur weapons to etc
have fun... 8)

drzoom
29.01.2006, 17:05
Thanks, Himmel.
Btw Met45, your skill is wrong...

Himmel
29.01.2006, 17:06
Nop. Bad idea. Using your variant char will have ability to use this skill with every type of swords. Destroyers will be machines of death, using top sword. Can you realise? Stun+punch of doom+shield...

drzoom
29.01.2006, 17:09
U r right.
Btw himmel, didn't know about etc type, thks again:)

hamidouch
29.01.2006, 17:15
[Fix]
As we know, there is a useless type of weapons called "etc". We can use it.
skilldata.txt:
We have to set etc instead of dual. Let's do it...
effect = {{p_physical_attack;{etc};param;diff};{p_hit;{etc} ;param;diff}}

itemdata.txt:
Now we have to set etc type to every two-handed weapon. In itemdata every two-handed weapon have a sword type. How to recognise two-handed weapon is or simple sword. Simply. Look for slot_bit_type. Two-handed weapons have slot_bit_type={lrhand}. But still, here's the list of two-handed swords:
Red Sunset Sword, Brandish, Old knight's sword, two-handed sword, claymore, flamberge, great sword, dragon slayer. We have to set etc type to all of these weapons.
weapon_type=etc

Done. Use it!
Если неясно - могу перевести...


there's still a problem with that, books are etc weapons, so books will be usable with those skills/masteries.

use fist instead, fist is really unused

Himmel
29.01.2006, 17:19
Provocation :)) Fists are also fighter's weapon and we will have the same like with the duals. Orcs will rule with this. etc is the most usefull, trust me :)

drzoom, never mind :)

hamidouch
29.01.2006, 17:23
"fist" is fukin unused !, you think i said dualfists or what??

[php:1:fd8fde0490]item_begin weapon 99 [apprentice's_spellbook] item_type=weapon slot_bit_type={rhand} armor_type=none etcitem_type=none blessed=0 weight=650 default_action=action_equip consume_type=consume_type_normal initial_count=1 maximum_count=1 soulshot_count=0 spiritshot_count=0 immediate_effect=1 price=0 default_price=12500 item_skill=[none] critical_attack_skill=[none] material_type=paper crystal_type=none crystal_count=0 is_trade=1 is_drop=1 is_destruct=1 physical_damage=9 random_damage=10 weapon_type=etc can_penetrate=0 critical=8 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense=0 shield_defense_rate=0 attack_range=40 effective_range=48 damage_range={0;0;40;120} attack_speed=379 reuse_delay=0 mp_consume=0 magical_damage=12 durability=95 damaged=0 physical_defense=0 magical_defense=0 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={0} magic_weapon=1 item_end
[/php:1:fd8fde0490]

Himmel
29.01.2006, 17:27
relax. Everybody have their own choice...

vex
30.01.2006, 21:05
you may use any unused type, i'm using fist, but no ones fully solve the problem

two-handed weapon mastery works not only with two-handed swords, but it works with two-handed blunts. If you change weapon_type for couple of blunts to ... it will stop to work with some other skills, etc.

so we need to use something like equip_weapon_slot;lrhand but no exists such operate_cond :( need hexing again :(

Mayii
31.01.2006, 01:07
dualfist

vex
31.01.2006, 08:46
no-no! exactly: fist
dualfist this is main orcs weapon, but fist is not used almost

if want use it you need to change many other skills to avoid collision

montejo1974
10.02.2006, 12:26
I think fist is used.

For example, when you are not weapon equiped you are using Fist Weapon, so a Destroyer without weapons could do the skill and even the destroyer would be always with PAtk incremented even without weapons.

So...still need hexing.

hamidouch
10.02.2006, 13:57
no montejo, you're wrong.

montejo1974
10.02.2006, 15:58
I think so (maybe wrongly) seeing this at npcdata:

npc_begin warrior 26 [ruin_zombie] ..... base_attack_type=fist

and:

npc_begin warrior 30 [langk_lizardman] ..... base_attack_type=sword

, but to try it is simple, configure a skill with the equip_weapon=fist operate_condition and try to use it without weapons ;)

vex
10.02.2006, 20:11
I think fist is used.

For example, when you are not weapon equiped you are using Fist Weapon, so a Destroyer without weapons could do the skill and even the destroyer would be always with PAtk incremented even without weapons.

So...still need hexing.

I think you mistake. If you not equiped with weapon at all operate_cond equip_weapon not work. You have to see difference with equiped weapon and attack type. op cond works with equiped weapon!

Mattho
25.03.2006, 13:06
or change hands to somethin else...
etc? :) with etc there are no skills, no?

are fists used somewhere else than hands?

MelkorTheStrong
16.04.2006, 04:35
I changed my weapon_type to etc for two handed swords, and changed dual in the skilldata for the mastery and crush of doom to etc also. THe mastery works fine now, but not Crush of doom.

Mattho
16.04.2006, 19:04
it should work, but anyway you'll have problem with other etc weapons...

i didn't find any problem with my solution oO