Can anyone help me modify this piece of code to make it in a way in which it will deal damage at a higher atack speed, as it is right now, pasted in the wait.msa and wait1.msa creates a area around you in which monsters take damage but at character's atack speed
Thank you
once unpacked u will see in folder ymir work/pc - there are 4 chars warrior ninja sura and shaman.
Ill make an exaple for warrior. Open Ymir work/pc/warrior/onehand sword/wait.msa with notepad. Add this to the end :
Group MotionEventData
{
MotionEventDataCount 8
Group Event00
{
MotionEventType 4
StartingTime 0.000001
DuringTime 8.000000
EnableHitProcess 1
AttackType 0
HittingType 1
StiffenTime 0.000000
InvisibleTime 0.100000
ExternalForce 0.000000
HitLimitCount 99
CollisionType 1
SphereDataCount 1
Group SphereData00
{
Radius 250.000000
Position 0.000000 0.000000 0.000000
}
}
Group Event01
{
MotionEventType 4
StartingTime 0.260000
DuringTime 8.000000
EnableHitProcess 1
AttackType 0
HittingType 1
StiffenTime 0.000000
InvisibleTime 0.100000
ExternalForce 0.000000
HitLimitCount 99
CollisionType 1
SphereDataCount 1
Group SphereData00
{
Radius 250.000000
Position 0.000000 0.000000 0.000000
}
}
Group Event02
{
MotionEventType 4
StartingTime 0.520000
DuringTime 8.000000
EnableHitProcess 1
AttackType 0
HittingType 1
StiffenTime 0.000000
InvisibleTime 0.100000
ExternalForce 0.000000
HitLimitCount 99
CollisionType 1
SphereDataCount 1
Group SphereData00
{
Radius 250.000000
Position 0.000000 0.000000 0.000000
}
}
Group Event03
{
MotionEventType 4
StartingTime 0.780000
DuringTime 8.000000
EnableHitProcess 1
AttackType 0
HittingType 1
StiffenTime 0.000000
InvisibleTime 0.100000
ExternalForce 0.000000
HitLimitCount 99
CollisionType 1
SphereDataCount 1
Group SphereData00
{
Radius 250.000000
Position 0.000000 0.000000 0.000000
}
}
Group Event04
{
MotionEventType 4
StartingTime 1.040000
DuringTime 8.000000
EnableHitProcess 1
AttackType 0
HittingType 1
StiffenTime 0.000000
InvisibleTime 0.100000
ExternalForce 0.000000
HitLimitCount 99
CollisionType 1
SphereDataCount 1
Group SphereData00
{
Radius 250.000000
Position 0.000000 0.000000 0.000000
}
}
Group Event05
{
MotionEventType 4
StartingTime 1.300000
DuringTime 0.200000
EnableHitProcess 1
AttackType 0
HittingType 1
StiffenTime 0.000000
InvisibleTime 0.500000
ExternalForce 0.000000
HitLimitCount 99
CollisionType 1
SphereDataCount 1
Group SphereData00
{
Radius 250.000000
Position 0.000000 0.000000 0.000000
}
}
Group Event06
{
MotionEventType 4
StartingTime 1.560000
DuringTime 0.200000
EnableHitProcess 1
AttackType 0
HittingType 1
StiffenTime 0.000000
InvisibleTime 0.500000
ExternalForce 0.000000
HitLimitCount 99
CollisionType 1
SphereDataCount 1
Group SphereData00
{
Radius 250.000000
Position 0.000000 0.000000 0.000000
}
}
Group Event07
{
MotionEventType 4
StartingTime 1.800000
DuringTime 0.200000
EnableHitProcess 1
AttackType 0
HittingType 1
StiffenTime 0.000000
InvisibleTime 0.500000
ExternalForce 0.000000
HitLimitCount 99
CollisionType 1
SphereDataCount 1
Group SphereData00
{
Radius 250.000000
Position 0.000000 0.000000 0.000000
}
}
}
and same for the wait1.msa - now u have dmg hack with sword make same thing on twohand foled if u want to use 2hand wep. And same in horse folder look for wait.msa and add the lines at the end of text. And recompile it
need to modify only wait-msa and wait1.msa files
Ill make an exaple for warrior. Open Ymir work/pc/warrior/onehand sword/wait.msa with notepad. Add this to the end :
Group MotionEventData
{
MotionEventDataCount 8
Group Event00
{
MotionEventType 4
StartingTime 0.000001
DuringTime 8.000000
EnableHitProcess 1
AttackType 0
HittingType 1
StiffenTime 0.000000
InvisibleTime 0.100000
ExternalForce 0.000000
HitLimitCount 99
CollisionType 1
SphereDataCount 1
Group SphereData00
{
Radius 250.000000
Position 0.000000 0.000000 0.000000
}
}
Group Event01
{
MotionEventType 4
StartingTime 0.260000
DuringTime 8.000000
EnableHitProcess 1
AttackType 0
HittingType 1
StiffenTime 0.000000
InvisibleTime 0.100000
ExternalForce 0.000000
HitLimitCount 99
CollisionType 1
SphereDataCount 1
Group SphereData00
{
Radius 250.000000
Position 0.000000 0.000000 0.000000
}
}
Group Event02
{
MotionEventType 4
StartingTime 0.520000
DuringTime 8.000000
EnableHitProcess 1
AttackType 0
HittingType 1
StiffenTime 0.000000
InvisibleTime 0.100000
ExternalForce 0.000000
HitLimitCount 99
CollisionType 1
SphereDataCount 1
Group SphereData00
{
Radius 250.000000
Position 0.000000 0.000000 0.000000
}
}
Group Event03
{
MotionEventType 4
StartingTime 0.780000
DuringTime 8.000000
EnableHitProcess 1
AttackType 0
HittingType 1
StiffenTime 0.000000
InvisibleTime 0.100000
ExternalForce 0.000000
HitLimitCount 99
CollisionType 1
SphereDataCount 1
Group SphereData00
{
Radius 250.000000
Position 0.000000 0.000000 0.000000
}
}
Group Event04
{
MotionEventType 4
StartingTime 1.040000
DuringTime 8.000000
EnableHitProcess 1
AttackType 0
HittingType 1
StiffenTime 0.000000
InvisibleTime 0.100000
ExternalForce 0.000000
HitLimitCount 99
CollisionType 1
SphereDataCount 1
Group SphereData00
{
Radius 250.000000
Position 0.000000 0.000000 0.000000
}
}
Group Event05
{
MotionEventType 4
StartingTime 1.300000
DuringTime 0.200000
EnableHitProcess 1
AttackType 0
HittingType 1
StiffenTime 0.000000
InvisibleTime 0.500000
ExternalForce 0.000000
HitLimitCount 99
CollisionType 1
SphereDataCount 1
Group SphereData00
{
Radius 250.000000
Position 0.000000 0.000000 0.000000
}
}
Group Event06
{
MotionEventType 4
StartingTime 1.560000
DuringTime 0.200000
EnableHitProcess 1
AttackType 0
HittingType 1
StiffenTime 0.000000
InvisibleTime 0.500000
ExternalForce 0.000000
HitLimitCount 99
CollisionType 1
SphereDataCount 1
Group SphereData00
{
Radius 250.000000
Position 0.000000 0.000000 0.000000
}
}
Group Event07
{
MotionEventType 4
StartingTime 1.800000
DuringTime 0.200000
EnableHitProcess 1
AttackType 0
HittingType 1
StiffenTime 0.000000
InvisibleTime 0.500000
ExternalForce 0.000000
HitLimitCount 99
CollisionType 1
SphereDataCount 1
Group SphereData00
{
Radius 250.000000
Position 0.000000 0.000000 0.000000
}
}
}
and same for the wait1.msa - now u have dmg hack with sword make same thing on twohand foled if u want to use 2hand wep. And same in horse folder look for wait.msa and add the lines at the end of text. And recompile it
need to modify only wait-msa and wait1.msa files