Register for your free account! | Forgot your password?

You last visited: Today at 05:41

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Guide] Add custom buffs/debuffs to mobs

Discussion on [Guide] Add custom buffs/debuffs to mobs within the SRO PServer Guides & Releases forum part of the SRO Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2020
Posts: 234
Received Thanks: 230
[Guide] Add custom buffs/debuffs to mobs

Beside of normal status skills (CHN and EU type) you can add a few custom stats that are based on normal object/monster stats like damage, def power and so on. This is used on some monsters for "self-buffing", but because of low monster HP most of the time quite useless.
Example:


How to create something useful with such skills:
Imagine you add stats or debuffs to more powerful monsters like any unique or elite mobs. Even with quite powerful items you could create new challenges to your players, because it is not possible to counter them with skills or pills.

Types of skills that are included already:
- Self-buffs (MSKILL_CA_MONKEY_CLON_ATTACK03)
- Buffs to player (MSKILL_TQ_QINSHITRAP1_ATTACK02)

Types of skills that are included but not fully used:
- Debuffs to player (MSKILL_TQ_QINSHITRAP1_ATTACK01)

Types of skills that are missing:
- Buffs to other objects (monster)

How to create a self-buff for monsters:
You can use "MSKILL_CA_MONKEY_CLON_ATTACK03" or any other mob with self-buff as example. It is important to set the targets like below:


Also please make sure that the "AI_AttackChance", "AI_SkillType" and "Param1" are defined like this:


If you set the AI_AttackChance to 100, you will guarantee that the skill is used on certain %HP or after certain time. This also requires adding an entry to "Tab_RefAISkill" table:


This skill will be executed on 60% HP. If you need a time based example please query for "Roc" skills:


With AI_SkillType = 66 and Param1 = 3 it will be defined as "self-buff type" skill. Afterwards feel free to add certain parameters, in "MSKILL_CA_MONKEY_CLON_ATTACK03" it will translate to:
Code:
Param2: 1685418593 -> Duration
Param3: 10000 -> 10 seconds
Param4: 1684366960 -> Increase Phys/Mag Defense
Param5: 0 -> Phys def 0 increased
Param6: 52 -> Mag def 52 increased
How to create a buff for surrounding monsters:
Follow the example above and change the target to be "TargetGroup_Ally". This will include all surrounding monsters that are currently attacking a player (= enemy) and will work on a single target:


To buff a group of monsters you have to use an "AOE definition" like this. It will overwrite all settings under "TargetGroup":




This example should create a 30m radius around the target selected and buff all allies (Param10 = 1). To include the caster you can set the parameter to zero. Also there are more options, based on an exponential function of 2, e.g. 2,4,8 and so on. Just play around with the numbers and check the results. Most of them are used for player based skills and might not do anything on monsters.

Afterwards add parameters as you like. You might include a time based parameter as well, like inside "MSKILL_CA_MONKEY_CLON_ATTACK03".

How to create a debuff to players:
You can use "MSKILL_TQ_QINSHITRAP1_ATTACK01" as example for such a skill. It will cause certain status to player, once you killed a "Statue Monster" in Qin-Shi dungeon. Because you are using this skill on a monster, you have to select an enemy target (Player, Monster):


The skill type will change to "80", "AI_AttackChance" and "Param1" should be the same, because it is still considered as "buff":


To change it to a non-removable debuff include "1650619750" as parameter. This will make sure you cannot simply cancel the skill with a right click. Also include a time based parameter, otherwise it will never be removed.

Afterwards add the desired parameters, in my example I am reducing the damage done by 95%:


Usable Parameters:
You can use any parameter, that is also a part of a player based skill. Please check the skills ingame and receive the parameters from _RefSkill table.
Some examples:
Code:
1684366960 = Increase Phys/Mag Defense
1684366962 = Decrease Phys/Mag Defense
6582901 = Damage Increase
1634754933 = Attack Power Increase
1635017569 = Down Attack Increase
25458 = Critical Increase
I've attached a list of parameters known to myself, based on 110lv cap. There might be also some mistakes. Also check this topic:

Create custom icons for your skills:
If you want to add a custom icon to your skills, you should check the columns below (MSKILL_TQ_WHITESNAKE_ATTACK03):


Replace the "UI_IconFile" with your icon and add a proper description for "UI_SkillName" and "UI_SkillToolTip_Desc" into "textdata_equip&skill" or "textuisystem".
Attached Files
File Type: txt Parameters.txt (3.2 KB, 102 views)
OKeks is offline  
Thanks
24 Users
Old 10/28/2021, 15:28   #2
 
elite*gold: 0
Join Date: Dec 2013
Posts: 70
Received Thanks: 7
Thnx dude
gmhasan13 is offline  
Old 10/28/2021, 22:37   #3
 
Kled.'s Avatar
 
elite*gold: 0
Join Date: Oct 2021
Posts: 107
Received Thanks: 32
very usefull
Kled. is offline  
Old 10/29/2021, 01:15   #4
 
Dev_Ninja's Avatar
 
elite*gold: 0
Join Date: Oct 2021
Posts: 15
Received Thanks: 0
Nice dude Keep >...
Dev_Ninja is offline  
Reply

Tags
guide, parameters, server, skills, sro


Similar Threads Similar Threads
Debuffs und buffs
06/11/2018 - Nostale - 3 Replies
Hallo ich hätte 2-3kleine fragen Ich hab ja das wedding system und habe bemerkt das mein HochzeitsSegen buff die Falsche effectid hat (882) kann mir da einer weiter helfen? :D Dann blutung funktioniert nicht muss ich das als debuff noch einfügen bei SpecialItem.Cs? (effect 6007 weiß nicht ob das richtig ist) dann wie füge ich wenn ich verheiratet bin das Herz in der Freundesliste hinzu ?? Vielen dank für die Kommentare,und hilfestellungen :D
[Question] Buffs-Debuffs
10/04/2011 - World of Warcraft - 1 Replies
Hay Leudz! In letzter zeit muss ich mit meinem heal dudu auf eule spielen und mir ist aufgefallen der Mond-Sonnen balken den man als eule hat auf meinen buffs-debuffs liegt .. kann ich das iwie in xperl oder so ändern das ich z.b. die buffs wo anders habe oder die leiste?.. also das ich se oberhalb des namens machen kann weiß ich .. aber dort stören se mich zu sehr ...
The New Buffs + deBuffs :) (BaDBoY)
09/06/2011 - Rappelz Private Server - 5 Replies
Hi guys :) i am get a new buffs + de buffs 1- http://www6.0zz0.com/2011/09/06/01/532803261.jpg 2- http://www12.0zz0.com/2011/09/06/01/941083826.jpg
Frage: Buffs/Debuffs ewig behalten
04/10/2009 - World of Warcraft - 4 Replies
gibt es nen möglichkeit, ob nun durch lag oder sonst was diverse buffs/debuffs wie z.B nen trinketprocc oben zu behalten :>?Ich hatte das einmal als bug das mein int buff auf 1 sekunde stehen blieb und nich ausgelaufen is
Best way to level ur buffs/debuffs
05/15/2007 - RF Online - 0 Replies
if u got a Bellato mainchar u make a cora alt lvl 10 so it dont get back into town after u log off go to some save spot like upside sette desert platformu can move down the hole in cora turncoats to be up the place there hide up somewhere get actool- make macro that "tab" alltime and push keys to force revoke/rebuff should be like



All times are GMT +1. The time now is 05:43.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.