AmpereJoule 
Journeyman

Posts: 59
Likes Given: 7
Likes Received: 0 in 0 posts
Joined: Dec 2012
Reputation: 0
![]()
|
RE: How to change the Player SkillClass
(12-18-2012 03:53 AM)RanXerox Wrote: I think you need a couple things... in the sphere.ini, you need to enable the COMBAT_STACKARMOR and FEATURE_AOS_DAMAGE
You need to set ARMOR=0 (or just comment it out) on all armor and clothes items... instead of using ARMOR, you use TAG.RESPhysical
In a global player and npc event, you use @equip and @unequip triggers to affect MODAR, something like this:
Code:
IF (<TAG0.RESPHYSICAL>)
SRC.TAG.RESPHYSICAL=<EVAL <SRC.TAG0.RESPHYSICAL> - <TAG0.RESPHYSICAL>>
SRC.MODAR -= <TAG0.RESPHYSICAL>
IF (<SRC.TAG0.RESPHYSICAL>==0)
SRC.TAG.RESPHYSICAL=
SRC.MODAR=
ENDIF
ENDIF
I already have done that, look at how is configured my "sphere.ini":
Code:
...
// Extra combat flags to control the fight (default:0, 0.55i compatible)
// COMBAT_NODIRCHANGE 00001 // Not rotate player when fighting (like was in 0.51a)
// COMBAT_FACECOMBAT 00002 // Allow faced combat only (recommended)
// COMBAT_PREHIT 00004 // allow prehit for close combat. first hit is instant (delay 0.1sec)
// COMBAT_USE_RESISTANCE 00008 // use character props RES* against oldfashioned damage types
// COMBAT_SPECIALDAMAGE 00010 // use character tags TAG.*DAMAGE to apply additional damage
// COMBAT_DCLICKSELF_UNMOUNTS 00020 // unmount horse when dclicking self while in warmode
// COMBAT_ALLOWHITFROMSHIP 00040 // Allow attacking opponents from ships
// COMBAT_OSIDAMAGEMOD 00080 // modify weapon damage OSI-style (taking anatomy, tactics, lumberjacking into account)
// COMBAT_ARCHERYCANMOVE 00100 // firing bow while moving
// COMBAT_STAYINRANGE 00200 // abort attack swing when out of range instead of waiting to come back in range
//
// COMBAT_STACKARMOR 01000 // If a region is covered by more than one armor part, all AR will count
// COMBAT_TARGETTEDHIT 02000 // Allows setting of preferred hit area by TAG.HITPREFERENCE
CombatFlags=00008|00040|00080|00100|00200|01000
...
// FeatureAOS, used to control AOS expansion features ( default 0 )
// FEATURE_AOS_UPDATE_A 01 // AOS Monsters, Map
// FEATURE_AOS_UPDATE_B 02 // Tooltip, Fightbook, Necro/paladin on creation, Single/Six char selection screen, Skills, Newer spellbook support
// FEATURE_AOS_POPUP 04 // PopUp Menus
// FEATURE_AOS_DAMAGE 08
FeatureAOS = 01|02|04|08
...
And, as it is shown on my video, what I change is "TAG.ResPhysical".
About the "event" part, I really did not understand where do I need to put those lines you typed. :~.
|
|
12-18-2012 10:41 AM |
|
|