mirror of
https://github.com/tbamud/tbamud.git
synced 2026-04-18 01:59:03 +02:00
Remove conf.h from SVN and some bug fixes
This commit is contained in:
parent
95b4f8267c
commit
2743ff82ec
15 changed files with 178 additions and 481 deletions
|
|
@ -227,16 +227,15 @@ void do_dg_affect(void *go, struct script_data *sc, trig_data *trig,
|
|||
}
|
||||
|
||||
/* add the affect */
|
||||
new_affect(&af);
|
||||
af.type = SPELL_DG_AFFECT;
|
||||
af.duration = duration -1;
|
||||
af.modifier = value;
|
||||
|
||||
if (type == APPLY_TYPE) {
|
||||
af.location = i;
|
||||
af.bitvector = 0;
|
||||
} else {
|
||||
af.location = 0;
|
||||
af.bitvector = i;
|
||||
SET_BIT_AR(af.bitvector, i);
|
||||
}
|
||||
|
||||
affect_to_char(ch, &af);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue