RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[Request] Stats Changing Script (Ccs) (for pk)

0 Members and 1 Guest are viewing this topic.

****
Banned
Rep:
Level 88
I'm basically Yoda's brother
I have Ccs (custom component system) request.
I need a script that makes it so:

when the a hero attacks a monster:
if the hero id is [I'll fill in this part]:
the attacker's Attack Power - the target's Mag Defense = damage done to target (minimum damage is 0)

else:

the attacker's Attack Power - the target's Phys Defense = damage done to target (minimum damage is 0)


when a monster attacks a hero:
if the monster id is [I'll fill in this part]:
the attacker's Attack Power - the target's Mag Defense = damage done to target

else:

the attacker's Attack Power - the target's Phys Defense = damage done to target

in the "skill" tab, of the Database:
The following stats to a skill, don't do anything:
Attack Power
Evasion (skills always hit)
Strength
Dexterity
Agility
Magic
Accuracy (skills always hit)
Phys Defense
Mag Defense
Variance

Stat Effects:
Agility Does not do anything

Dexterity does not do anything except for the following:

(the target's Dexterity x 2.5) - the attacker's Dexterity = % chance that the attacker will miss the target (minimum % chance of missing is 0)

thanks in advance!

just so everyone knows, im 15 years old.