Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Shields do nothing
Author Message
x77x
Master
**

Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4



Post: #1
Shields do nothing
any idea shield do nothing to overall AR rating?

and yes they are uncommented

ARMOR=xx

Dragons of Time 2000-2020
http://dragonsoftime.com
08-17-2017 02:35 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Shields do nothing
Shield give a chance to block all the damage, the chance is around 25% at 100% Parrying, while using a weapon without a shield gives a 12% chance to block all the damage.
(This post was last modified: 08-17-2017 03:43 AM by darksun84.)
08-17-2017 03:42 AM
Find all posts by this user Like Post Quote this message in a reply
x77x
Master
**

Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4



Post: #3
RE: Shields do nothing
how can i make it the old way, where it is added to AR?

Dragons of Time 2000-2020
http://dragonsoftime.com
08-17-2017 03:48 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #4
RE: Shields do nothing
You can use MODAR for the shields, then you will have to tweak the armour increase according to the value of the parry skill by using @skillchange and @ItemEquip.
Example:
Code:
ON=@SkillChange
//We have a shield equipped and skill increased, check if modar will increase
if <findlayer.2.type> == t_shield
    //Every 10% point of parrying AR is increased by 1.
    modar +=  ( (<argn2> - <<argn1>> ) / 100)
endif

ON=@ItemEquip
if <act.type> == t_shield
   modar += <act.modar> + ( parrying/ 100)

ON=@ItemUnequip
if <act.type> == t_shield
   modar -= <act.modar> - ( parrying/ 100)

I didn't test it, so probably there will be some errors
(This post was last modified: 08-17-2017 04:50 AM by darksun84.)
08-17-2017 04:42 AM
Find all posts by this user Like Post Quote this message in a reply
x77x
Master
**

Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4



Post: #5
RE: Shields do nothing
this works =)


Code:
ON=@ItemEquip
if <act.type> == t_shield
//   modar += <act.modar> + ( parrying/ 100)
     modar += <act.armor>
SAY i am equiping a shield!

ON=@ItemUnequip
if <act.type> == t_shield
//  modar -= <act.modar> - ( parrying/ 100)
     modar -= <act.armor>
SAY i am unequiping a shield!

Dragons of Time 2000-2020
http://dragonsoftime.com
(This post was last modified: 08-19-2017 09:11 PM by x77x.)
08-17-2017 08:44 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes x77x's post
UltimaGo
Apprentice
*

Posts: 22
Likes Given: 5
Likes Received: 0 in 0 posts
Joined: Mar 2017
Reputation: 0



Post: #6
RE: Shields do nothing
Im sorry to update this, i was trying to make it work, but i can't..
what im doing wrong?

Thanks!


PHP Code:
[SKILL 5]
DEFNAME=Skill_Parrying
KEY
=Parrying
TITLE
=Duelist
FLAGS
=skf_fight
STAT_STR
=75
STAT_DEX
=25
STAT_INT
=15
BONUS_STR
=50
BONUS_DEX
=50
BONUS_INT
=0
BONUS_STATS
=10
ADV_RATE
=10.0,150.0,600.0

ON
=@SkillChange
//We have a shield equipped and skill increased, check if modar will increase
if <findlayer.2.type> == t_shield
    
//Every 10% point of parrying AR is increased by 1.
    
modar +=  ( (<argn2> - <<argn1>> ) / 100)
endif

ON=@ItemEquip
if <act.type> == t_shield
 modar 
+= <act.modar> + ( parrying100)

ON=@ItemUnequip
if <act.type> == t_shield
 modar 
-= <act.modar> - ( parrying100
03-30-2019 01:44 PM
Find all posts by this user Like Post Quote this message in a reply
x77x
Master
**

Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4



Post: #7
RE: Shields do nothing
skillclasses, goes under...



[SKILLCLASS 0]
// undeclared class.
// max skills for players of this skill class.
DEFNAME=Class_Undeclared
NAME=undeclared
// EVENTS=e_ClassUndeclared
STATSUM=300
SKILLSUM=10000.0
STR=100
INT=100
DEX=100
..
..
..
..


might be different, no idea

Dragons of Time 2000-2020
http://dragonsoftime.com
(This post was last modified: 03-30-2019 11:57 PM by x77x.)
03-30-2019 09:34 PM
Find all posts by this user Like Post Quote this message in a reply
UltimaGo
Apprentice
*

Posts: 22
Likes Given: 5
Likes Received: 0 in 0 posts
Joined: Mar 2017
Reputation: 0



Post: #8
RE: Shields do nothing
(03-30-2019 09:34 PM)x77x Wrote:  skillclasses, goes under...



[SKILLCLASS 0]
// undeclared class.
// max skills for players of this skill class.
DEFNAME=Class_Undeclared
NAME=undeclared
// EVENTS=e_ClassUndeclared
STATSUM=300
SKILLSUM=10000.0
STR=100
INT=100
DEX=100
..
..
..
..


might be different, no idea

???? Under what? I put the code under the Skill "parrying"

can you show me how do you have "Parrying skill"?

ty
(This post was last modified: 03-31-2019 02:35 AM by UltimaGo.)
03-31-2019 02:34 AM
Find all posts by this user Like Post Quote this message in a reply
Seokotov
Apprentice
*

Posts: 18
Likes Given: 2
Likes Received: 1 in 1 posts
Joined: Dec 2018
Reputation: 0

WorldAtWar

Post: #9
RE: Shields do nothing
triggers under parrying skill is a skill's triggers
you need to place this triggers in players event or in skillclass block

World At War Devil
(This post was last modified: 04-01-2019 08:27 AM by Seokotov.)
04-01-2019 08:26 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
UltimaGo
Apprentice
*

Posts: 22
Likes Given: 5
Likes Received: 0 in 0 posts
Joined: Mar 2017
Reputation: 0



Post: #10
RE: Shields do nothing
(04-01-2019 08:26 AM)Seokotov Wrote:  triggers under parrying skill is a skill's triggers
you need to place this triggers in players event or in skillclass block

Oh i understand now.. thanks you very much..

Thats why wasn't working silly me Smile
04-06-2019 01:21 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)