Skip to content

Commit

Permalink
Added NO_RESURRECT and NO_TRANSFER to script
Browse files Browse the repository at this point in the history
They were missing on SET_CREATURE_PROPERTY command
  • Loading branch information
Loobinex committed Oct 6, 2024
1 parent 145c15b commit 28f9217
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/lvl_script_value.c
Original file line number Diff line number Diff line change
Expand Up @@ -747,6 +747,26 @@ void script_process_value(unsigned long var_index, unsigned long plr_range_id, l
case 27: // ALLURING_SCVNGR
crstat->entrance_force = val4;
break;
case 28: // NO_RESURRECT
if (val4 >= 1)
{
set_flag(crconf->model_flags, CMF_NoResurrect);
}
else
{
clear_flag(crconf->model_flags, CMF_NoResurrect);
}
break;
case 29: // NO_TRANSFER
if (val4 >= 1)
{
set_flag(crconf->model_flags, CMF_NoTransfer);
}
else
{
clear_flag(crconf->model_flags, CMF_NoTransfer);
}
break;
case 30: // TREMBLING
if (val4 >= 1)
{
Expand Down

0 comments on commit 28f9217

Please sign in to comment.