Jump to content
  • 0

Doram/Summoner class damage to be reduce by RC_PLAYER


Question

Posted

Hi

is this already in rA? if it is, can someone be so kind to link the revision? /lv

 

i want the damage from doram class reduce by items that contain this

bonus2 bSubRace,RC_PLAYER,x;

 

(not the same as having doram class traited as demi-human, i know this is an option and i don't want this)

thank you in advance! /thx 

3 answers to this question

Recommended Posts

  • 0
Posted
bonus2 bSubRace,RC_PLAYER,x;

has effected doram for basically as long as the class has been implemented in rA, also we don't use revision we use git hash now.

  • 0
Posted
5 minutes ago, Stolao said:

bonus2 bSubRace,RC_PLAYER,x;

has effected doram for basically as long as the class has been implemented in rA, also we don't use revision we use git hash now.

I asked for this because i tested items that give player damage reduction, such as Feather beret and Combat knife.

Both of them have bonus2 bSubRace,RC_Player and RC_DemiHuman in their script but the damage reduction only applies for demihumans. damage coming from summoner class is not reduced

is this intended? 

 

i use git hash c5ceda03f 

 

/thx for valuable information

 

  • 0
Posted (edited)

That's because Summoner isn't counted as either of those, according to the status.cpp file at status_calc_pc_ summoner class is considered as RC_BRUTE:

base_status->race = ((battle_config.summoner_trait&1) && (sd->class_&MAPID_BASEMASK) == MAPID_SUMMONER) ? RC_BRUTE : RC_PLAYER;

Maybe you could tinker with that.

Or just change the summoner trait from player.conf

// Adjust the summoner class' special traits.
// 0: Summoners behave like other classes.
// 1: Summoners belong to brute race instead of demi-human
// 2: Summoners are small size instead of medium
// 3: Both of the above (official value)
summoner_trait: 3

 

Edited by joecalis

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...