Thread Rating:
- 0 Votes - 0 Average
- 1
- 2
- 3
- 4
- 5
on=@HitTry... doesn't work!
|
Author |
Message |
Jonaleth
Apprentice
Posts: 42
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Apr 2012
Reputation: 0
|
on=@HitTry... doesn't work!
Hello, I've just installed 56c and it works great!... exept when it comes to my custom made combat system.
It ignores the on=@HitTry but @Hit and @GetHit works as they should.
I've tried it all, but nothing seems to work...
Here's a short example (which worked earlier in 55b). Perhaps nothing fancy, but it gives me enough control to manipulate attackspeed on different weapons, and give bonuses for certain races/classes to fight faster with certain weapons...
ON=@HitTry
////////////
// RANGED //
////////////
IF <ARGO.TAG.BOW> == 1 //NORMAL BOW
var0.BaseAttackSpeed_Ranged=40
var0.WeaponWeightAttackSpeed_Ranged=<var0.BaseAttackSpeed_Ranged> + <eval (<ARGO.WEIGHT>/2)>
ELSEIF <ARGO.TAG.BOW> == 2 //CROSSBOW
var0.BaseAttackSpeed_Ranged=50
/////////////////
// WITCH HUNTER//
/////////////////
IF <findid.a_witchhunter_CrossbowExpert>
var0.BaseAttackSpeed_Ranged=30
ENDIF
var0.WeaponWeightAttackSpeed_Ranged=<var0.BaseAttackSpeed_Ranged> + <eval (<ARGO.WEIGHT>/2)>
ELSE
var0.BaseAttackSpeed_Ranged=30
var0.WeaponWeightAttackSpeed_Ranged=<var0.BaseAttackSpeed_Ranged> + <eval (<ARGO.WEIGHT>/2)>
ENDIF
//Attack speed bonus;
//Attribute bonus: 100 dex (10)
var0.BaseAttackSpeed_Ranged=<var0.BaseAttackSpeed_Ranged> + (-(<dex>/10))
//Skill bonus: 50.0 archery (5)
var0.BaseAttackSpeed_Ranged=<var0.BaseAttackSpeed_Ranged> + (-(<archery>/100))
//Attack speed bonus
var0.BaseAttackSpeed_Ranged=<var0.BaseAttackSpeed_Ranged> + (-<eval <tag0.attackspeed>>)
//Attack speed deffect
var0.BaseAttackSpeed_Ranged=<var0.BaseAttackSpeed_Ranged> + <eval <tag0.attackspeedDeffect>>
ARGN1=<eval <var0.BaseAttackSpeed_Ranged>>
But I tried to make something even more simple...
ON=@HitTry
Say I attack you!
...But that didn't work either...
How can I get the HitTry trigger to work ?
(This post was last modified: 05-27-2015 03:17 AM by Jonaleth.)
|
|
05-27-2015 03:12 AM |
|
|
darksun84
Sir Spamalot
Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35
|
RE: on=@HitTry... doesn't work!
|
|
05-27-2015 04:05 AM |
|
|
User(s) browsing this thread: 1 Guest(s)